想要设置表单上所有input为禁用,该如何做?
$(this).textbox('disable', true);
$(this).textbox('readonly');
$(":input").each(function () {
var tt = this.name;
if (tt == "textbox") {
//alert($(this).id());
$(this).textbox('setValue', '1');
$(this).textbox('disable', true);
}
})