wait Archive
-
How to send AJAX request on window unload and NOT have to wait for a response
Posted on November 5, 2011 | No CommentsI found that this works sporadically, but usually doesn’t work at all. $ (window).unload(function() { $ .ajax ({ url: "script.php", type: "POST", data: { value: value } }); }); Setting... -
Make jQuery wait for one .each function to complete before next line is executed?
Posted on November 4, 2011 | No CommentsI have this: $ ("a.fadeout").click(function(event){ event.preventDefault(); var loc = this.href; //Do this first... $ ($ (".faded").get().reverse()).each(function(i) { $ (this).delay(i * 100).fadeOut(); }); //And only then do this.. window.location = loc;... -
jQuery wait for dynamic images to load
Posted on September 12, 2011 | No CommentsSo I have a page that is dynamically loading images at user request, basically a random image will pop up when they click a button. I want to find a... -
JQuery.click, wait before clicking again?
Posted on August 12, 2011 | No CommentsQuestion by Liam Macmillan: JQuery.click, wait before clicking again? Hello. How would I make it on Jquery that after a user click’s on something they have to wait around two...