文章出處
文章列表
function getKey(event) { if (event.keyCode == 13) { alert("我是回車鍵"); } }
<input type="password" onkeypress="getKey(event);"/>
文章列表
全站熱搜