I have an html page. when you click a button, an AJAX function will call a php page (like register.php). That page contains a form.
the URL is index.html and doesn't change to register.php because I called the PHP page through AJAX
Now that problem is: when I click the submit, I loose the html page and redirected to the register.php (the form handler is on the same page register.php).
I want the results and error messages to be displayed on the same page (index.html).
I hope the explanation was clear enough to be understood.
Thanks for the help