Php 如何在jQuery中重定向页面?

Php 如何在jQuery中重定向页面?,php,jquery,Php,Jquery,我应该如何从服务器回显哪些数据以轴向重定向我的页面?假设这是我的jQuery: $.ajax({ type: "POST", url : '<?php echo base_url() ?>Admin/AddNotice', data: {noticeTitle: $('#title').val(),noticeDesc : $('#desc').val() }, success: func

我应该如何从服务器回显哪些数据以轴向重定向我的页面?假设这是我的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.
            }
        });
$.ajax({
类型:“POST”,
url:'Admin/AddNotice',
数据:{noticeTitle:$('#title').val(),noticeDesc:$('#desc').val()},
成功:功能(msg){
我想重定向,请填空。
}
});
这很简单:

window.location = "http://www.google.com";

)()

我不知道你所说的“Ajaxicaly redirect”是什么意思,但是如果你只是想让浏览器重定向到另一个页面,你可以使用
window.location=http://wherever/you/want/to/go/';

使用:

success: function(msg){
  window.location = "page.html";
}
“Ajaxicaly”是我最喜欢的新词。