Care to explain?, jQuery help |
Care to explain?, jQuery help |
![]()
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(); }); }); ![]() |
|
|
![]() |
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Topic closed & moved.
|
|
|
![]() ![]() |