Redirecting a page using ajax
Posted 16 October 2006 - 11:55 AM
I done a login form. User name and password checking ajax script.
If password is wrong it showing correctly.
My prob is user name and password is correct, i want to redirect the page to members area
Posted 16 October 2006 - 11:57 AM
location.href = 'new location here';
Wrong forum by the way.
Posted 16 October 2006 - 12:33 PM
Posted 19 October 2006 - 12:05 PM
i guess you would have two JS functions one for request to the server and other for getting back the responce from the server. In the JS function which receives the responce you can user location.href='file.php'
Posted 19 October 2006 - 12:44 PM
Actually... I've been using AJAX techniques for quite some time and I have YET to use XML with it.
Posted 20 October 2006 - 02:25 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users