2014-12-01, 06:44 PM
I'm trying to use this jQuery script and I know very little about JS or jQuery. I thought this would work but it doesn't... Could someone tell me what I'm doing wrong?
Here's my website and you can see (in inspect element) that I've done everything correctly at least I think... forum.leftalt.com
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">
$("a#login").click(function () {
$("div#buttons").slideToggle();
$("div#prompt").slideToggle();
});
$(".fakelink").click(function () {
$("div#buttons").slideToggle();
$("div#prompt").slideToggle();
});
</script>
Here's my website and you can see (in inspect element) that I've done everything correctly at least I think... forum.leftalt.com