今天學(xué)到j(luò)q插件validate時(shí),代碼打出來可以運(yùn)行,引用沒有問題,但是中間發(fā)現(xiàn)Hbuilder沒有任何語法提示,這是怎么回事? $(function(){
$('#demoForm').validate({
debug:true,
rules:{
username:{
required:true,
minlength:2,
maxlength:10,
// remote:'2.json'
},
password:{
required:true,
minlength:2,
maxlength:16
}
}
});
});
關(guān)于Hbuilder
清風(fēng)流光
2017-05-18 23:13:50