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
You can dynamically change the contents of the signup div with jquery as follows:
$("#signup").html("My New Login Section");
or
var $loginDiv = $(document.createElement("div")).html("Username"); $("#signup").html($loginDiv);