Form JavaScript Tutorial

The elements property represents the elements array, which is used to access each element within a form.
The order of the form elements in the elements array is the order in which they appear in the HTML source.


    
     Using the form elements property
    
    
    
    
    
    
    This is a blank input textbox. Click on the button below to get the name of the textbox.