/p>
transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
http-equiv="content-type" content="text/html; charset=gb2312"
/>
jquery$.each遍历json数组方法
src="jquery.js">
var arr = [{ name: "john",
lang: "js" },{ name: "nailwl", lang: "jquery" },{ name: "吴磊", lang:
"ext" }]; $.each( arr, function(index,
content)
{ alert( "the man's no. is: " +
index + ",and " + content.name + " is learning " + content.lang
); });