This question already has an answer here:
- $ not defined using jQuery in WordPress 3 answers
So I've followed this tutorial to the T, even downloading source files and implementing locally:
I also saw another poster here get this running: https://stackoverflow.com/questions/22254286/effective-dropdown-login-box-in-jquery
However, I am implementing this code into Wordpress and it suddenly ceases to work.
First I inserted the HTML into header.php (everything renders fine in browser).
I wp_enqueued the js properly and confirmed it's appearing in source head. Also verified JQuery is loaded.
Style sheet is loading fine. However, the dropdown doesn't work. When inspecting in Firefox, there's usually a little black icon next to active js elements.. it appears locally but not running in WP: