<html>
<head>
<title> Example of the blur method of the password object</title>
</head>
<body>
<script language="JavaScript">
<!--
function shift(){
document.form1.pass.blur();
document.form1.txt.value="Get Focus";
}
-->
</script>
<form name="form1">
<input type="PASSWORD" Name="pass" size=10>
<br>
<input type="Text" name="txt" size=10>
<br>
<input type="BUTTON" value="Show Password" onClick=shift()>
</form>
</body>
</html>
|