Reputation: 317
Slideup jquery doesnt work.
$(".close_basket").click(function() {
$(".mybasket").slideUp(1000);
});
HTML :
<div class="mybasket">more code...
<div class="close_basket">
<span>Close <img src="images/close.png" alt="*" /></span>
</div></div>
So I want to click on close basket and it should slide up and content mybasket disapear.
Upvotes: 0
Views: 58
Reputation: 1666
Firstly, jsfiddle.. Check out the jsfiddle I have created. Secondly, see if you have included the jquery file in your code.
//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
Thirdly, Check your css.
Upvotes: 1