If you mean that you are trying to do a redirect via the output from the server-side script called by the JavaScript AJAX request, I do not believe that is possible. You would instead have to send some header or message that the AJAX response function could detect, and if so then do a document.location() call.
If you mean something else (which I suspect might be the case), then we (or at least I) will need a more complete description of what the issue is.