Hi Friends seeking your help I am trying to develop simple slideUp()
and sldeDown()
which work when user click on perticular button who has class .buyBtn
actuly I am opening a panel by clicking on this class. Now the problem is when I click on this button my panel slide down for 2 seconds as per my code but when i click on that button 5 to 6 times more the panel open ans close very fast without wait for 2 minuates its close i dont know what is the problem behing this you can see my code here http://jsfiddle.net/uVdb3/
Please help me guys feel free to comment .. Thank in advance .. :)
Try this, use stop()
$('.oneItem').stop().animate({
I'd suggest using setTimeout
instead of setInterval
on $('.chart').children().slideUp