attrchange
attrchange is a simple jQuery function to bind a listener function to any HTML element on attribute change.
DEMOS & DOCUMENTATION:
http://meetselva.github.com/attrchange/
Reference:
- http://hacks.mozilla.org/2012/05/dom-mutationobserver-reacting-to-dom-changes-without-killing-browser-performance/
- https://developer.mozilla.org/en/DOM/Mutation_events
- https://developer.mozilla.org/en/DOM/DOM_Mutation_Observers
- http://msdn.microsoft.com/en-us/library/ie/ms536956%28v=vs.85%29.aspx
Browser Support Information:
DOMAttrModified
- Supported in IE 9, FF and Opera
MutationObservers
- is very new and it is supported in FF and Chrome 18.
onpropertychange
- Only in IE