143
rated 0 times
[
147]
[
4]
/ answers: 1 / hits: 24476
/ 13 Years ago, tue, may 17, 2011, 12:00:00
<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.
More From » jquery