为什么我 $.each(没有任何记录,有json数据,(Jquery)
jquery\u5bf9json\u548cxml\u683c\u5f0f\u7684\u6570\u636e\u53ea\u80fd\u8fdb\u884ceach\u64cd\u4f5c\u4e48\u53ef\u4ee5\u554a~
json:{m:1,n:2}
xml:12
jquery\u83b7\u53d6n\u7684\u503c:
json:$({m:1,n:2}).attr('n');
xml:$('12').find('n').text();
\u7528for\u4e0d\u884c\u5417 \u90a3\u4e5f\u662f\u904d\u5386
var dataObj=eval("("+data+")");//\u8f6c\u6362\u4e3ajson\u5bf9\u8c61
var length=dataObj.leng;
for(var i=0;i<length;i++)
{
\u8fd9\u6837\u4e0d\u884c\u5417\uff1f
}
echo urldecode(json_encode($arr));放到while循环外面
打开了,不明白你什么意思
扩展阅读:each they 为什么不对 ... more than one 主谓一致 ... at the expense of ... every one of us ... each of 后面加什么 ... each用法顺口溜 ... each of the students ... each of做主语的用法 ... each 程序用语 ...