[Javascript] Unobtrusive onsubmit

Terry Riegel riegel at clearimageonline.com
Wed Feb 18 13:48:52 CST 2009


>> So I have this...
>> document.getElementById('testform').onsubmit=TestDataCheck;
>
> Not quite to the point but be aware that IE does not differ between  
> 'name'
> and 'id' namespaces so this will have consequences for your script.

I am actually using prototype with the dollar function.



More information about the Javascript mailing list