redirect ajax code example Example: ajax redirect in success success: function(msg){ window.location = "page.html"; }