Methods and Properties of the Submit Object : Form HTML : Form Control JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Form Control » Form HTML »

 

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.

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Form Control
» Form HTML