> I don't think input elements have a submit event.  Form elements do.
> So that would be step one. :-)

Ah.. you're right. I did ('myinput').observe('click', foofunc);  not
'submit'.
Thanks for catching this. So I'm basically adding another handler tied
to exact same event as the DOM0 style handler.

> Is it really necessary to use old DOM0-style event handlers (the
> attribute on the tag) and modern event attachment in the same app?

Sigh.. I absolutely agree with you 100% on this. However, I do not
have control over how this is.
The DOM0-style comes from the server and I'm implementing a solution
that is strictly on client side hence the ugliness of the code.

>Out of curiousity, what kind of input element is it?  (That elipsis
>could cover a lot of ground.)  button?  submit?  text?  checkbox?

It is submit button.
I appreciate any suggestion on how I might solve this problem. Thanks.
--~--~---------~--~----~------------~-------~--~----~
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