[Proto-Scripty] Re: Event.observe for mutation events

2009-01-09 Thread MalContented

That did the trick.
Thank you very much Walter.

Mal


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Event.observe for mutation events

2009-01-08 Thread Walter Lee Davis

Try using a Form.Element.Observer[1] instead. It handles this sort of  
thing quite neatly, by checking the contents of the field over and  
over and triggering a function when they change.

Walter

1. http://prototypejs.org/api/timedObserver

On Jan 7, 2009, at 11:57 AM, MalContented wrote:

> I suspect I need to process the
> 'DOMCharacterDataModified' event rather than the 'change' event (as
> implemented in the Prototype library).  The library appears to be set
> up for only 'HTMLEvents', the event I need is specified as a mutation
> event.
> Any ideas how I can achieve this?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---