我应该从服务器回应什么数据以重新定向我的页面?再说了,想这我的jquery: -如何重定向页面? jQuery
$.ajax({
type: "POST",
url : '<?php echo base_url() ?>Admin/AddNotice',
data: {noticeTitle: $('#title').val(),noticeDesc : $('#desc').val() },
success: function(msg){
//here i want to redirect..fill in the blank please.
}
});
感谢提前:)
“ajaxically”是我最喜欢的词。 – 2010-08-07 15:10:14