Is it possible to refresh a single div with jQuery? I have a button that does logout a user. After the button is clicked, I want to show the login form, so I need to re-pars
as you have your session method inside of your tag, you can do on success event following:
success: function(data){
$("#signup").load(".register");
}
it will reload everything inside of < div id="signup" class="register"> and as you've removed your session (i suppose), than it will be reload to your login/logout form.