在你的js代码中加入下面一行代码即可 $("input[readonly]").keydown(function(e) { e.preventDefault(); }); jq中遇到的问题 IE9无压力,其它浏览器自测 input可读属性readonly 分享文章: 收藏 0 喜欢 0