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 <[email protected]> wrote:
> On Apr 22, 9:02 pm, Yozefff <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to