JQUERY 遍历数组
function loginSinglePoint(cookiestr) {var urls = ["http://www.xxxx.com.cn/ajax/UserAjax.ashx?ajaxMethod=loginsinglepoint&userco=",
"http://www.xxx.com/ajax/UserAjax.ashx?ajaxMethod=loginsinglepoint&userco="];$.each(urls, function (i, n) {
$.ajax({ type: "get", url: n + cookiestr, dataType: "jsonp", success: function (data) { alert(data.result); } }); });}