The click method simulates a mouse click on the Reset button.
<html>
<head>
<title> Example of the reset click method</title>
</head>
<body>
<script language="JavaScript">
<!--
function clickReset(){
document.form1.resetbutton.click();
}
function inform(){
alert("The reset button was clicked");
}
-->
</script>
<form name="form1">
Enter Name: <input type="text" Name="name" Size=15>
<br>
Enter Phone: <input type="text" Name="phone" Size=10>
<br><br>
<input type="reset" name=resetbutton value=Reset onClick='inform()'>
<br>
<br>
<input type="button" value="Simulate Click" onClick='clickReset()'>
</form>
</body>
</html>