Care to explain?, jQuery help |
Care to explain?, jQuery help |
May 7 2010, 10:03 PM
Post
#1
|
|
Mel Blanc was allergic to carrots. Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
CODE $(function() { $("a#show").click(function(event) { event.preventDefault(); $("div#content").slideToggle(); }); }); Yes, I am using jQuery (in case you didn't read the sub-title). Help? EDIT: Never mind. Fixed it. CODE $(function() { $('a#show').click(function() { #('div#content').slideToggle(); }); }); |
|
|