Event to listen to attribute changes

Posted by Luis on Stack Overflow See other posts from Stack Overflow or by Luis
Published on 2010-05-16T14:00:17Z Indexed on 2010/05/16 14:10 UTC
Read the original article Hit count: 202

I dont think this is possible but maybe someone knows a way to achieve this. I want to attach an event to an html element to listen to attribute change. So say for instance that I want something to happen when a visibility of a div changes. The reason is that I have no control over the javascript that is switching the visibility, hence the need for an event.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery