After I do the .post thing, I want to hide the first div with a left slide, then show the second with a right slide. My right-slide was working fine and then I went and tried to put in the left slide and I broke it all.
if(hasError == false) {
$.post("/process-email-signups",{email_address: email_addressVal},
function(data){
$("#email_signup_form").hide("slide", { direction: "left" }, 1000);
function() {
$("#thank_you_message").show("slide", { direction: "right" }, 1000);
});
}
);
}