ajax常见问题

获取ajax返回结果 ajax是异步的。一般咱们在succee、error中获取到后台返回的数据。若是咱们想在外面获取呢?这时就须要使用responseText了。html var rspTxt = $.ajax({ async:false, cache:false, type : "POST", url : "<%=basePath%>test.action",
相关文章
相关标签/搜索