<html>
<script language="JavaScript">
<!--
function removeFocus()
{
document.myForm.checkBox2.blur();
}
-->
</script>
<form name="myForm">
I hold my focus after a click
<input type="checkbox" name="checkBox1"><br>
I cannot hold my focus after a click
<input type="checkbox" name="checkBox2" onClick="removeFocus()">
</form>
</html>
|