I have a login page which authenticate users using php and mysql. If the authentication is successful, it redirects the user to another page. This is working as it should but instead of the page refreshing when it redirects, I want to use Ajax to load the page. I have tried doing this without any luck. Could someone direct me on how to go about this?

Thanks