Form JavaScript Tutorial

The defaultValue property contains the text between the beginning and ending tags.
This property is often used to reset areas to their default values after a user has modified them.


    
    
    
    
    
    
    Edit the text in the following text box:
    


    
        
        Here is some text in my text area.
      
                 onClick="resetForm()">