我想在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;