Sure. Just put something at the the end of your success function like:
if(result === "no_errors") location.href = "http://www.example.com/ThankYou.html"
where your server returns the response no_errors
when there are no errors present.
More Related Contents:
- How to manage a redirect request after a jQuery Ajax call
- How to send data to the server via Ajax?
- HTML: how refresh information in [closed]
- How to receive special character?
- Download a file by jQuery.Ajax
- jQuery AJAX file upload PHP
- Prevent browser caching of AJAX call result
- Post data to JsonP
- No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘…’ is therefore not allowed access
- jQuery ajax success callback function definition
- Is it possible to use Ajax to do file upload?
- How to get an AJAX get-request to wait for the page to be rendered before returning a response?
- Caching a jquery ajax response in javascript/browser
- TypeError: Cannot read property ‘setState’ of undefined
- How to show progress bar while loading, using ajax
- Differences between contentType and dataType in jQuery ajax function
- How to return an Ajax result using async/await? [duplicate]
- AJAX request to local file system not working in Chrome? [duplicate]
- Server polling with JavaScript
- pdf file upload ajax html
- Javascript regex returning true.. then false.. then true.. etc [duplicate]
- Populating a select box using JQUERY, AJAX and PHP
- Chain ajax and execute it in sequence. Jquery Deferred
- “Permission denied” with Internet Explorer and jQuery
- How to show loading status in percentage for ajax response?
- jQuery ajax async: false causes a strange warning?
- jQuery $.ajax(), pass success data into separate function
- How to submit checkboxes from all pages with jQuery DataTables
- creating highchart with ajax json data
- Python Flask Cors Issue