輸入密碼
input type="password" 可輸入密碼
程式碼如下:
<script>
function Event1(str){
if (str == "mypass"){
alert("OK!!");
}
}
</script>
password : "mypass"
<input type="password" name = "auth" value="" onblur="Event1(this.value)">