Possible to bind an event listener to a (hypothetical) onChangeInnerHTML event?
- by DustMason
In my app, I have an OL tag whose contents are changed by various other dynamic events. Is there some way to put a listener on that OL so that I can execute a function whenever its contents are altered in any way? In this example I need to update a count of items in the list which appears in another spot in the interface.
I am using jQuery if that helps.
The contents of the OL are being changed with OL.append() and LI.remove(), in case those methods have some special events that I don't know about
Thanks!