Link Details

Link 36620 thumbnail
User 111696 avatar

By bloid
via blog.brandonaaron.net
Published: Aug 22 2007 / 15:46

Live Query, previously called Behavior, 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 or a script.
  • 22
  • 0
  • 1269
  • 352

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.