Questions tagged as 'jquery'

1
answer

Hide submenu when clicking on another

I would like when I clicked on an item with a submenu, whatever was active would hide. I found a script similar to mine, but I had difficulty adapting. I'm using the following script for the subclass with onclick    Javascript for Dro...
asked by 24.01.2016 / 18:41
1
answer

ATTR passing _blank

The code below redirects to another page, but I would like it to be in another browser tab, so I used _blank. Bad does not go to another tab. Could someone tell me where I'm going wrong? Thanks guys. <script type="text/javascript">...
asked by 28.12.2018 / 03:41
1
answer

Calculate time online with JavaScript / jQuery

I need to develop a code where I do not have access to back-end languages, I need to do a function that calculates how long a user is online on the page and save this time in localStorage in>, I thought I'd use a setInterval every 1 s...
asked by 05.04.2014 / 04:29
1
answer

Divs being added one on top of the other

I have three menus, when I click on each one, it leaves a div that was as display:none as display:block . What is happening is that by clicking on Menu 1 and then on Menu 2, it is adding one div below the other. Jquery looks like...
asked by 03.04.2014 / 15:36
3
answers

Load page only when image loaded

Load page only when image is uploaded, how do I do this using JQuery ? I've tried a few things but have not been successful so far, somebody help me ... I do not have the id of the image just the one of the div that it is inside ......
asked by 07.04.2014 / 02:00
1
answer

CSS - Leave a minimum distance between two elements 'fixed'

I need to leave a minimum distance between two fixed position elements (the top and the bottom). The problem occurs when you apply zoom-in to the page, the two elements are virtually in place, and the purpose is to make the central conten...
asked by 27.12.2014 / 00:24
1
answer

Is it possible to create a map to position elements?

I would like to know if it is possible to "pre-define" the position of an element when using append , for example: <div id="mainDiv"> <div class="child" data-position="2"></div> <div class="child" data-position...
asked by 17.07.2018 / 18:05
1
answer

Update part of web page with Electron. (Change only content and keep header, footer and fixed menu)

I am making an application using Electron, split the screen into header, footer, menu and content as it does in an ordinary web application. ThebuttonsneedtoperformtheactionsinthemainElectronwindowbutitisnotworkingandIdonotknowhowtosolveit.I...
asked by 19.10.2018 / 23:54
1
answer

Is it possible to assign a value other than the value acquired from an OPTION in a SELECT when submitting the form to PHP?

Well, I think the title of this question has been confusing, but I'll try to get a better understanding of my problem. I'm developing a project with the CodeIgniter framework (I'm a beginner) where I have a php / html page with a form that co...
asked by 17.11.2018 / 19:19
2
answers

Date format problems

I am developing a system using C # MVC and JQuery UI and at the moment I am having problems with date formats, in the inputs is the date in the correct format "dd / mm / yyyy" but the server is receiving the date in the format " mm / dd / yyyy "....
asked by 08.11.2014 / 02:11