Refer here for the full tutorial: http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-the-difference-be...
In jQuery 1.3, the team introduced the live() method, which allows us to bind event handlers to elements on the page, as well as any that might be created in the future dynamically. Though not perfect, it definitely proved to be helpful. Most notably, live() bubbles all the way up, and attaches the handler to the document. It also ceases to work well when chaining method calls, unfortunately. Delegate() was introduced in version 1.4, which almost does the same thing, but more efficiently.
Well examine the specific differences between the two methods in todays video quick tip. Thanks to the FireQuery Firebug extension, well have the tools to more easily understand how each method functions.
Very helpful, thanks!
njok 1 year ago
This is so complex..I have a question. Why is it that jquery doesn't recognize my already existing element after an ajax request.
Say I have an element call console, which i hid before the ajax request and now i want to show it again after the ajax request, even with the live method I can't seem to get around it..anyway, thanks for the tut
CamiloSanchez1979 1 year ago
this jQ is cool thing...
Nice video
qazdesign 1 year ago