tags:

views:

31

answers:

2

Hello,

Why does this slide() gives the error

$(this).hide("slide", { direction: "down" }, 1000);

Error: Message: Object doesn't support this property or method Thanks Jean

+3  A: 

Make sure to include jQuery UI in the page so you have the slide effect, for example:

Nick Craver
I got to wait a whole 4 mins to accept..................
Jean
Nick - you are too fast man! Got my vote.
HurnsMobile
+2  A: 

The hide() function only accepts two arguments, duration and callback if you are using only the jquery library. Long story short - make sure you have the UI library loaded as well.

HurnsMobile