...最好是按回车的时候,弹出提示“不能使用回车键”,刚..._百度知道
问题描述: 代码可以百度hi我最佳答案: <html> <head></head> <body> <script> window.onload = function () { document.body.onkeydown=function(event) { if(event.keyCode==13) { ...更多关于JOptionPane不能用回车键关闭?的问题>&g
...最好是按回车的时候,弹出提示“不能使用回车键”,刚..._百度知道
最佳答案: <script> function timer(event) { if(event.keyCode==13){ alert("不可以按enter键"); } } </script> <body> <div > <input name="myinput...更多关于JOptionPane不能用回车键关闭?的问题>>