json不返回的同學,可以檢查一下地址欄的文件地址是不是http://localhost:+端口號/,如果是file:///+地址則是屬于本地文件打開,html頁面是沒有在服務器上跑起來的,所以不會返回json數據??梢栽囋囋诰幾g器里使用run或者open in 瀏覽器打開文件,確定地址欄有localhost端口號就可以返回了
2017-11-29
$("#username”).rules(add,{minlength:2,maxlength:10})
2017-11-12
dateISO:是比較嚴格模式只能用****/**/**杠或者-號 url:true date:true email:true
2017-11-12
怎么也用不了/*remote:{
url:"remote.json",
type:"post",
data:{
loginTime:function(){
return + newData,
}
}
}*/
url:"remote.json",
type:"post",
data:{
loginTime:function(){
return + newData,
}
}
}*/
2017-11-12