Questions tagged as 'jquery'

2
answers

how to get the date of the server with JQuery

I'm trying to get the date from the server, I know to get the server date with php, but will it be possible with JQuery?     
asked by 29.12.2015 / 08:00
1
answer

When to use this and when to use event.target

Today a question came up, although with the tests I did I managed to solve several of them. But so, when should I use e.target and when should I use This . Because yesterday when I discovered e.target, I started to use it. But th...
asked by 12.05.2015 / 00:14
1
answer

Cancel backspace action

I made the following script $(document).ready(function () { $('html').keydown(function (e) { if (e.keyCode == 8) { ConfirmarVolta(); } }); });...
asked by 11.05.2015 / 22:14
3
answers

Set JS to calculate the size of a div

I made a one-page site and to calculate the size of the main divs I used this JS: function tamanhos(){ $('#a, #b, #c, #d').css('min-height', $(window).height()); } $(window).load(tamanhos); $(window).resize(tamanhos);...
asked by 08.05.2015 / 16:09
1
answer

Redirect to another page

Colleagues. How would I make the user to close the browser or tab, was directed to another page, but that did not work when giving the F5. I say this because I have a system that has the status online and offline and many of them are closing...
asked by 13.05.2015 / 01:24
2
answers

Auto Click mouse on a content within a div?

I would like to know if it is possible to do a div with auto click. This is how the page loads and when someone clicks anywhere on the page the mouse clicks on the content inside the div. In case I put an iframe from an external page. but...
asked by 29.05.2015 / 22:04
2
answers

Jquery - hover () and mouseleave ()

I have a problem. I have two divs with a certain distance between them. I would like that when I position the mouse in the first div, the second div appears and I can move the mouse from one to the other without the second div disappearing. O...
asked by 02.06.2015 / 21:46
2
answers

SetInterval () and load () functions and traffic problems

So guys .. I know the code below is pretty unnecessary, but I just need to know one thing, actually an answer ... The code below in my site serves to make refresh in an update icon that shows the number of notifications in case any friend...
asked by 18.06.2015 / 15:18
1
answer

Control the go back of the browser button

I'm using the function in jQuery onbeforeunload but it's being turned on by the browser's Back Button. I would like to know how to control the event back from the browser, I have tried several possible solutions but none worked....
asked by 19.06.2015 / 17:13
2
answers

Load fields automatically with jquery and json

I need to fill in my fields after selecting one. My JSON is as follows: [{"codeVisit":"3EE","segmentVisit":"industria","streetVisit":"Rua Francisco Leandro Cunha","neighbVisit":"Vila","countryVisit":"Brasil","client":"5580262b600e53e82069bb...
asked by 16.06.2015 / 19:54