success: function(response){
window.location.href = response.redirect;
}
Hope the above will help because I had the same problem
More Related Contents:
- jQuery: Performing synchronous AJAX requests
- jQuery.ajax handling continue responses: “success:” vs “.done”?
- How to cancel/abort jQuery AJAX request?
- Two $.post requests one after the other.Second $.post request doesn’t get executed
- jQuery $.ajax(), $.post sending “OPTIONS” as REQUEST_METHOD in Firefox
- Problems with jQuery getJSON using local files in Chrome
- jQuery Upload Progress and AJAX file upload
- jQuery send string as POST parameters
- How to enable cross-domain request on the server?
- Call jQuery Ajax Request Each X Minutes
- How to check if jQuery.ajax() request header Status is “304 Not Modified”?
- Cross-Domain Requests with jQuery
- $.ajax call working fine in IE8 and Doesn’t work in firefox and chrome browsers
- ‘No Transport’ Error w/ jQuery ajax call in IE
- Extract part of HTML document in jQuery
- Setting processData to false in jQuery breaks my AJAX request
- how does jquery’s promise method really work?
- Multiple ajax calls at same time
- jQuery AJAX ‘multipart/form-data’ Not Sending Data?
- How to change ajax-charset?
- Ajax response inside a div
- JSON parsing error syntax error unexpected end of input
- What HTTP status codes count as success in jQuery.ajax?
- Web sockets make ajax/CORS obsolete?
- Scrolling Overflowed DIVs with JavaScript
- Preventing “SCRIPT5: Access is denied” error in IE
- Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
- Conditionally provide either file download or show export validation error message
- Cross-site AJAX using jQuery
- PhP Upload progress in PhP 5.4 is not working. Session variables not set