jquery ([2] javascript[1])
< Framework (javascript[1])
< Ressources (javascript[1])
< javascript ([3]clientside[2]))
< clientside ([2]frontend[1])
< frontend ([1])
< davask (dev profil)
< davask.42
Get flash to fully experience Pearltrees
Overview Live Query utilizes the power of jQuery selectors by binding events or firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated. For example you could use the following code to bind a click event to all A tags, even any A tags you might add via AJAX. $('a') .livequery('click', function(event) { alert('clicked'); return false; }); Once you add new A tags to your document, Live Query will bind the click event and there is nothing else that needs to be called or done. When an element no longer matches a selector the events Live Query bound to it are unbound.
form ([4] plugin[3] jquery[2] javascript[1])
miscellaneous ([4] plugin[3] jquery[2] javascript[1])