html组件不可输入(只读)同时任何组件都有效
复制代码 代码如下: /** * 将页面设置为只读 */ var setReadOnly = function() { var input = $("input"); input.each(function(i) { $(this).attr("onfocus", "this.blur();return false;"); $(this).wrap(function() { return "<span onmousemove="this.setCap...