<html>
<head>
<script language="JavaScript">
<!--
function removeFocus()
{
document.myForm.button2.blur();
}
-->
</script>
</head>
<form name="myForm">
<input type="button"
value="I hold my focus after a click"
name="button1"><br>
<input type="button"
value="I can not hold my focus after a click"
name="button2"
onClick="removeFocus()">
</form>
</html>
|