Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Methods and Properties of the Reset Object

/* +------------+----------------+------------------------------------------+    Type        Item             Description +------------+----------------+------------------------------------------+   Method +------------+----------------+------------------------------------------+                blur()           Removes focus from the button. +------------+----------------+------------------------------------------+                click()          Simulates a mouse click on the button. +------------+----------------+------------------------------------------+                focus()          Sets the focus to the button. +------------+----------------+------------------------------------------+                handleEvent()    Passes an event to the appropriate event                                  handler associated with a button. +------------+----------------+------------------------------------------+   Property +------------+----------------+------------------------------------------+               form              Returns the Form object of which the button                                  is a member. +------------+----------------+------------------------------------------+               name              Contains the name attribute for the button. +------------+----------------+------------------------------------------+               type              Contains the type attribute for the button. +------------+----------------+------------------------------------------+               value             Contains the value attribute for the button. +------------+----------------+------------------------------------------+ */