Easyui动态添加验证属性

$('#vv').validatebox({
required:true
});
其中required是动态设置是否为必填选项

你可能感兴趣的:(Easyui)