Thanks man, you've helped a lot!
: The form must have a name in order for you to be able to submit it. A form name looks like:
:
: FORM NAME="blahblah" METHOD="POST" ACTION="blah.htm"
:
: To submit a form, you would use the syntax formname.submit(). In this case, the code would look like:
:
: blahblah.sumbit()
:
: I believe that this asks the user if they want to submit, so you can't just submit a form without the user knowing :).
:
: To modify the properties of a button, you must have a button with a name inside a form with a name. Ie:
:
: FORM NAME="blahblah" METHOD="POST" ACTION="blah.htm"
: BUTTON NAME="blah1"
: SUBMIT NAME="blah2"
: /FORM
:
: Then, use the boolean property "enabled" to set whether or not the button is enabled (true = enabled, false = disabled). Use the syntax formname.buttonname.enabled = boolean_value. For example:
:
: blahblah.blah1.enabled = false
: blahblah.blah2.enabled = true
:
: Hope this helps,
: Matt(AA)
:
:
:
: : Anybody know how to submit a form using Javascript?
: :
: : Also... how do you enable and disable a button?
: :
: : Thanks everybody!If you find yourself falling into madness... dive!
: :
:
:
------------------------------------------
The art of war is not to die for your country, but to make the other bastard die for his!