I have a very simple jQuery function that is supposed to toggle a div's visibility:
jQuery( ".signUp" ).click(function() {
$('.signUpForm').toggle();
});
The HTML is a simple signup form (hidden fields left out for brevity):
<p><a class="signUp" href="#">Sign Up!</a></p>
<div class="signUpForm">
<h3 class="title">Join our email list!</h3>
<form action="<url goes here>" method="POST">
<label for="email">Email:</label><input type="text" id="email" name="Email"/></br><br />
<input type="Submit" value="Submit" /><br />
</form>
</div>
The script looks like it was enqueued properly, but it's not working on the WP page. It does work just fine on JSFiddle (http://jsfiddle.net/danromanchik/6taton4p/).
Any ideas what I'm doing wrong?
Thanks.
ready