<div class="current"></div>
<a href="#">text</a>
How do I detect when e.g. a .live
class is added to this <div>
and do something when it happened?
For example, if class is changed, then hide the link.
I have a minified script that makes changes on the <div>
's class. It’s too big for me to find the place where it happens, so I'm searching for some way to catch the class change.