[Javascript] IE onclick problem

David Dorward david at dorward.me.uk
Thu Apr 17 01:22:54 CDT 2008


> So I would argue that 'onsubmit="return checkMyForm()"' should read
> 'onsubmit="checkMyForm()"'

It shouldn't.

> since the handler function itself returns a
> true or false value to the onsubmit event

It doesn't. If you don't use a return statement, nothing is returned.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/





More information about the Javascript mailing list