The blur() method removes the focus from the submit button.
<html> <head> <script language="JavaScript"> <!-- function removeFocus(){ document.myForm.mySubmit.blur(); } --> </script> </head> <body> <form name="myForm"> <input type=TEXT value="Hello, World!" name="myText"> <input type=SUBMIT value="Click to Remove Focus" name="mySubmit" onClick="removeFocus()"> </form> </body> </html>