I have the following code:
$('.signup-form-wrapper').css("style", "display: block");
$('.login-form-wrapper').css("style", "display: none");
Not sure why it doesn't work. The element currently looks like this:
<div class="signup-form-wrapper form-wrapper" style="display: none;">
I am trying to change this style to display: block, how do I do that?
.attr("style", "display: block;"), but most likely your intention is to use.css("display", "block")or just.show()