Let's say I have a span such as this
<span id="theSpan"></span>
Using WebKitMutationObserver (I'm developing an extension for chrome, so no worries about cross-browser issues), how do i listen for changes within the span (innerText)? ie. the event should fire when i do this:
Javascript
$("#theSpan").text('hello world');
HTML
<span id="theSpan">Hello World</span>