在成功的ajax函数之后替换div中的内容添加jsp

时间:2016-12-06 11:32:46

标签: ajax jsp

我想在ajax功能成功后用jsp页面替换<div id="container"></div>的内容,也没有页面刷新。

$.ajax({
  type: "POST",
  url: "scripts/process.php",
  data: dataString,
  success: function() {
    //Whats the code here to replace content in #conatiner div to:
    //replace with my.jsp
  }
});
return false;

0 个答案:

没有答案
相关问题