I think it is DOMCharacterDataModified not DOMCharacterDataChanged (Sorry I gave the wrong even name earlier)
On Thu, Apr 23, 2009 at 12:03 PM, Yozefff <yoze...@gmail.com> wrote: > > hmm no luck :( > > <a href='javascript:test()'>test</a> > > > > <div id='myDiv'></div> > > <script> > > function test(){ > $("myDiv").update("yo"); > } > > > $("myDiv").observe("DOMCharacterDataChanged",function(evt){ > alert("sup"); > > }); > > > The domcharacdatachanged event just won't fire (FF3) > > > > On 23 apr, 00:26, RobG <rg...@iinet.net.au> wrote: > > On Apr 22, 9:02 pm, Yozefff <yoze...@gmail.com> wrote: > > > > > Is it possible to observe when the content of a DIV is changed? > > > > The W3C DOM 2 Events specification has an Interface MutationEvent for > > that purpose (and others). Support may vary across browsers: > > > > <URL: > http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MutationEvent > > > > > > > > -- > > Rob > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---