I am newbie using jquery mobile with php. I have a little problem on my login form with submit button after I submited, it head to \'home.php\' page but url didn\'t go to ho
After each call to
header("Location: home.php");
you need to add a line like this:
exit();
this should solve your problem.
You need to add data-ajax="false" to the form tag. This will submit the form to your action URL without using Ajax navigation that is built into jquery mobile. Also, you should use the full URL in the form action. (jquery mobile sometimes gets confused)