-4

可能重复:
如何从一个 URL 重定向到另一个 URL?

我有以下 jQuery 函数,我试图在其中重定向到另一个页面——我该怎么做?

$.post('/ajax/change_qc_status/',  {
        'qc_note': qc_note,
        'user': user
    }, 
    function(request){
        $.get('/summary/90') // this does nothing
    }
);

请注意,如果我转到该页面/summary/90,它是正确的页面。

4

1 回答 1

4

你根本不需要 jQuery。

只需使用window.location = "intended URL"

于 2012-08-13T00:06:39.530 回答