試試哪里有沒有問題
<!DOCTYPE?HTML> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=utf-8"> <title>?失焦事件?</title> <script?type="text/javascript"> ??function?message(){ ????alert("請確定已輸入密碼后,在移開!");?} </script>???? </head> <body> ??<form> ???用戶:<input?name="username"?type="text"?value="請輸入用戶名!"?onblur?=?"message()"> ???密碼:<input?name="password"?type="text"?value="請輸入密碼!"?onblur?=?"message()"> ??</form> </body> </html>
2015-08-14
沒用問題