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


JAVASCRIPT DHTML TUTORIALS » Form Control » Form HTML »

 

Methods and Properties of the Form Object



  Method
+---------+----------------+-------------------------------------------------+
           handleEvent()     Calls the event handler associated with this event. 
           reset()           Resets form elements to their default values.
           submit()          Triggers a submit event.
+---------+----------------+-------------------------------------------------+
  Property
+---------+----------------+-------------------------------------------------+
            action           Contains the action attribute of a 'form' instance.
+---------+----------------+-------------------------------------------------+
            elements         Array contain all the elements within 'form'.
+---------+----------------+-------------------------------------------------+
            encoding         Contains the enctype attribute of a 'form' instance.
+---------+----------------+-------------------------------------------------+
            length           Number of elements contained in the form.
+---------+----------------+-------------------------------------------------+
            method           Contains the method attribute of a 'form' instance.
+---------+----------------+-------------------------------------------------+
            name             Contains the name attribute of a 'form' instance.
+---------+----------------+-------------------------------------------------+
            target           Contains the target attribute of a 'form' instance.
+---------+----------------+-------------------------------------------------+
           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Form Control
» Form HTML