ngreenwood6 Posted October 6, 2008 Share Posted October 6, 2008 I am trying to make it so that if my status code is 6 to redirect to process_login.php. I do not know how to redirect with ajax can someone help. My code looks like this: if(status == 6) { //redirection code goes here } Thanks in advance Quote Link to comment Share on other sites More sharing options...
F1Fan Posted October 6, 2008 Share Posted October 6, 2008 If this is in your JS code: window.location = 'process_login.php'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.