Currently I have a login page (login.html) with nothing but a login form on it.
I also have an error login page (error.html) with nothing but a login form on it and a sentence stating that you have entered wrong credentials.
How can I replace login.html with error.html without reloading the browser using ajax?
BTW.. I am using this login form in a jquery slide down panel.
http://web-kreation.com/demos/Sliding_login_panel_jquery/
solution to change HTML between
<body></body>