加载页面之后,通过window.onload方式设置对于readonly框,阻止其默认事件。
$("input[readonly]").keydown(function(e) { e.preventDefault(); });