[Javascript] IE onclick problem

tedd tedd at sperling.com
Thu Apr 17 07:54:04 CDT 2008


At 3:56 AM +0200 4/17/08, J. Lester Novros II wrote:
>So I would argue that 'onsubmit="return checkMyForm()"' should read
>'onsubmit="checkMyForm()"' since the handler function itself returns a
>true or false value to the onsubmit event, thereby cancelling or granting
>the submit event.


Well -- it doesn't work that way for me.

Here's a form where I use it:

http://webbytedd.com/c/form-submit/

  'onsubmit=return checkMyForm()" <-- works

where

  'onsubmit=checkMyForm()"  <-- doesn't

Or is there something here I'm not understanding?

Cheers,

tedd

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list