Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. Advanced Events > Getting Notified When jQuery Methods Are Called

9.7. Getting Notified When jQuery Methods Are Called

9.7.1. Problem

You want to perform a certain action when a DOM element gets modified using jQuery. This could involve changing an attribute such as a CSS property, removing it from the document, etc.

Some browsers already support mutation events,[21] which would serve this need, but they’re not something you can use in a cross-browser fashion yet, and they aren’t integrated with jQuery.

[21] http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial