I have a hide method. What I want is, after this hide method finishes, then the other method will run. How can I do that in Jquery ?
For example
$('.panel').hide(400);
$('.panel2').fadeIn(400);
I want to run second line after the first one finished.
Thanks in advance,
hidemethod supports callback function parameter: