Form JavaScript Tutorial

The name property represents the name given to a Reset button as specified from the NAME attribute of the HTML tag.


    
     Example of the reset name property
    
    
    
    Enter Name: 
    

    Enter Phone: 
    


        onClick='alert("The reset button name is: " + ?document.form1.resetbutton.name)'>