[Javascript] IE onclick problem

David Hucklesby davidh126 at writeme.com
Sat Apr 19 15:54:42 CDT 2008


On Sat, 19 Apr 2008 12:14:57 -0400, tedd wrote:
[...]
>
> How can you have an unobtrusive onsubmit function tied to an unique id form on a
> document that contains several forms -- such that IF its submit button is clicked, then
> that form is processed (i.e., evaluated for content) while not processing the other
> forms?
>
> Now, I can do this with an in-line:
>
> onsubmit="return checkForm(this);"
>
> for each form, but how do you do that and be unobtrusive?
>

Use an "addEvent()" function, perhaps?

 <http://www.dustindiaz.com/rock-solid-addevent/>

Cordially,
David
--




More information about the Javascript mailing list