In case you are changing the text content using jQuery's html/text functions, there is a plugin that can observe calls to this methods: http://quiiver.appspot.com/method_observer_for_jquery
- ricardo On Dec 11, 8:49 pm, Geuis <geuis.te...@gmail.com> wrote: > On the site I'm working on, we have some span tags with IDs. The spans > are initially rendered on the page with no text content. When certain > events happen, text error messages are loaded into these spans. I want > to write an additional handler that is triggered when the text content > of the span is changed. The onchange(jquery change) event doesn't fire > on non-form elements. I suspect I can utilize DOM Mutation events, > however the support for these is not universal, especially in IE. Has > someone else worked out a solution for this? I can jank it and use a > timer, but that is messy and causes additional load in the page.