Is it possible to fire an event when the innerHTML
of a <div>
changes?
I am using YUI 3.
There is no out of the box onchange event for divs. If you want this you are going to have write this yourself (with a timer and storing whats the current value etc).
I would however try to take it a step back and call a method when you change the innerValue of that div to take care of ... w/e.