Just wondering, in code such as the one below, what exactly does the "return false" do?
Code:
function clearForm(){
document.form1.firstname.value="";
document.form2.lastname.value="";
}
Code:
<input type="image" src="clear.jpg" name="clear" onClick="clearForm();return false;">