jQuery Archive
-
Send checkbox Array with jquery ft.upload, PhoneGap
Posted on April 29, 2012 | No CommentsI have some checkboxes in my app, which could be checked (naturally). This checkboxes are named like ‘checkboxname[]‘, and every checkbox has it’s own value (4,5,6,7,8, and so on). Now... -
Why isn’t jQuery handling id and selector passed?
Posted on April 29, 2012 | No CommentsI have an id "#post0" and a class "reply" When I do: var rep = ".reply"; $ (rep).toggle(400); All components with class “reply” toggle. However when I do: var rep... -
what is the best way to implement reverse ajax (comet) on a rich jquery + php + apache web app
Posted on April 29, 2012 | No Commentsi’ve build a rich web app it use a lot jquery and is designed to run over apache + php. I need to update the news stream, messages and chat... -
How do I animate in jQuery without stacking callbacks?
Posted on April 29, 2012 | No CommentsLet’s say I have three divs, and I’d like each to animate once the previous one is done. Currently, I write this: $ ('div1').fadeOut('slow', function() { $ ('div2').fadeOut('slow', function() {... -
jquery fadeIn Moves Images to New Line
Posted on April 29, 2012 | No CommentsI have a simple jQuery fadeIn/Out script here: $ (document).ready( function(){ $ ("#home li").hover( function(){ $ ("img", this).fadeIn("400"); }, function() { $ ("img", this).fadeOut("400"); } ); }); With CSS here:... -
Copy Table Cell Value to Another Cell – jQuery
Posted on April 29, 2012 | No CommentsI have a simple HTML table. I would like to have a button that allows the user to copy the value from an existing cell to another cell, e.g. click... -
Problems with jQuery in a PhoneGap app
Posted on April 29, 2012 | No CommentsCan’t seem to get it included. I was using this: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> and then had this: <script type="text/javascript"> function initialize(){ $ (document).ready(function() { $ ("a").click(function() { alert("Hello world!"); }); });... -
Jquery Library stopping from uploading images
Posted on April 29, 2012 | No CommentsHeyy guys this is weird and has happened to me for the first time. I have a file upload form in my web page and also have jQuery library included... -
Move background on click event jQuery
Posted on April 28, 2012 | No CommentsI have this HTML: <ul id="nav"> <li id="menu1">item 1</li> <li id="menu2">item 2</li> <li id="menu3">item 3</li> </ul> <div id="arrow"> </div> The list has the CSS setting: display: inline and under the active... -
Recursive call function in jQuery AJAX on ajaxStop event
Posted on April 28, 2012 | No CommentsI have a function: function primaj(){ $ ('#tmp').load('msg1.php'); $ ("#tmp").ajaxStop(function(){ //do some code primaj(); }); } What i expect is for the load request to run, and when it finishes...