From: Thomas 'PointedEars' Lahn on
VK wrote:

>> > That is because you named or id'ed your submit button "Submit" or
>> > "submit".
>>
>> I can see nothing to support that statement.
>> The reason is that the input element has not submit method, only the
>> form.
>
> Very true? and that's the point :-) Now try this:
>
> <form action="">
> <input type="submit" name="submit" value="Submit">
> </form>
>
> and now document.forms[0].submit() or any variants. A very old DHTML
> oops, never fixed.

Nobody ever called document.forms[0].submit() here in the first place.

When will you have learned to quote?


PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(a)news.demon.co.uk> (2004)