$.ajax({ url: "<%=request.getContextPath()%>/student/timeByDate.html", method: "post", data: "date=" + $(obj).text().trim(), success: function (json) { console.log(json); for(int j=0;j<json.length;j++){ //定义类型时写成了int ,应该是var console.log(json[j]); } } })
SyntaxError: missing ; after for-loop initializer
猜你喜欢
转载自blog.csdn.net/qq_38912368/article/details/87117182
今日推荐
周排行