json不返回的同學(xué),可以檢查一下地址欄的文件地址是不是http://localhost:+端口號(hào)/,如果是file:///+地址則是屬于本地文件打開,html頁面是沒有在服務(wù)器上跑起來的,所以不會(huì)返回json數(shù)據(jù)??梢栽囋囋诰幾g器里使用run或者open in 瀏覽器打開文件,確定地址欄有l(wèi)ocalhost端口號(hào)就可以返回了
2017-11-29
怎么做以來報(bào)錯(cuò)一堆代碼,刪都刪不掉,你們有這情況嗎,后面都沒法寫了太多錯(cuò)誤了
2017-11-13
難道你們的控制臺(tái)可以用來輸入嗎?不可以的點(diǎn)個(gè)贊或@我讓我知道不是一個(gè)人的是這種情況,找了半天了,我用hbuilder
2017-11-13
$("#username”).rules(add,{minlength:2,maxlength:10})
2017-11-12
dateISO:是比較嚴(yán)格模式只能用****/**/**杠或者-號(hào) 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