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.
- Website:
- www.net.tutsplus.com
- Rating:
- License:
- Freeware
- Added:
- 12/03/2010
- Hits:
- 680
- Category:
- Programming
