Form Button 'type'
<html> <body> <input type="button" value='type = "button"' onClick="alert('"'+this.type+'"');"> <input type="reset" value='type = "reset"' onClick="alert('"'+this.type+'"');"> <input type="submit" value='type = "submit"' onClick="alert('"'+this.type+'"');"> </body> </html>