Form JavaScript Tutorial

The defaultValue property contains the default value specified by the VALUE attribute of the tag. This property is often used to reset forms to their default values.


    
    
    
    
    
    
    Edit the text in the following text box:
    


    
      
                   onClick="resetForm()">