I have a <ul>
element on my page with a few children. A class
attribute will be added to these children at some point,
Before
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
After
<ul>
<li class='classname'>1</li>
<li>2</li>
<li>3</li>
</ul>
I would like to bind to an event that will fire whenever the li
element's class changes, so I can handle it accordingly. Is there such an event?