在用户登录或者搜索框的时候,一般都会监听键盘事件绑定回车按键,来执行登录/搜索等操作。 原生绑定: <input onkeydown="keydownMsg(event)" type="text"> function ...
確定! 回上一頁