Steve Meyers wrote:
On Thu, 2003-06-12 at 10:04, Andrew Jorgensen wrote:

Technically, it should be form.submit().  It will probably work fine as
just submit(), but you may have better browser compatibility with
form.submit().

Shouldn't it only be form.submit() if the form happens to be named "form"?


No, form is a property of any form element, that points to the parent
form. The select box does NOT have a submit() method, the form does. So just calling submit() from the select is incorrect.

Cool. For future reference, where are these properties and methods defined? Is there a spec somewhere? A really good reference?

--
Andrew Jorgensen

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to