What about this script. I've used it in one project and it works as it


- Marko

On Apr 7, 11:54 am, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> Hi,
> > It worked perfectly but can't we achieve the same thing by calling
> > onchange.
> I don't think so.  The onchange attribute of elements is the DOM0
> style of event handler assignment, where there can only be one
> listener for the event.  The mechanism provided by Element#observe
> uses the more modern mechanisms browsers now supply (albeit in
> different forms) that allow multiple handlers on the same event for
> the same element.  If you call the onchange attribute of the element,
> the result will probably be implementation-dependant, but I suspect it
> will only call the DOM0 handler in most implementations.
> HTH,
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
> On Apr 7, 10:02 am, codef0rmer <amit.2006...@gmail.com> wrote:
> > Thanks T.J.,
> > It worked perfectly but can't we achieve the same thing by calling
> > onchange.
> > --
> > With Regards
> > Amit Gharathttp://amitgharat.wordpress.com/
> > Not everyone can become a great programmer.
> > But a great programmer can come from anyone.
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 
For more options, visit this group at 

Reply via email to