如何返回[object{xx:{}}]这种数组型json在服务器端return $arr[]=m;像这种都可以产生[Object { 0="9", 1="8", 2="9", 更多...}, Object { 0="10", 1="6", 2="11", 更多...}, Object { 0="10... Read More
posted @ 2014-09-02 17:48 大匠 Views(216) Comments(0) Diggs(0) Edit
function producedate(){ var date=new Date(); var str=date.getFullYear()+"-"; if((date.getMonth()+1)<10){str+="0"+(date.getMonth()+1);}else{str+=(date... Read More
posted @ 2014-09-02 17:44 大匠 Views(146) Comments(0) Diggs(0) Edit