Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Methods and Properties of the Submit Object

Method +------------+----------------+------------------------------------------+               blur()            Removes focus from the Submit button. +------------+----------------+------------------------------------------+               click()           Simulates a mouse click on the Submit button. +------------+----------------+------------------------------------------+               focus()           Gives the focus to the Submit button. +------------+----------------+------------------------------------------+               handleEvent()     Invokes the handler for the event specified;  +------------+----------------+------------------------------------------+  Property +------------+----------------+------------------------------------------+                form             Returns the entire form the Submit button is in. +------------+----------------+------------------------------------------+               name              Returns the name of the Submit button specified                                  by the name attribute. +------------+----------------+------------------------------------------+               type              Returns the type of this Submit button,                                  specified by the type attribute. This property                                  always returns submit. +------------+----------------+------------------------------------------+               value             Returns the value of this Submit button,                                  specified by the value attribute.