Link to home
Start Free TrialLog in
Avatar of Fajer39
Fajer39

asked on

jQuery method wait when finish

Hi,

how to set a timeout in this case: I'm hiding 2nd to last element and want to do it one by one.

for (i=1; i < 6; i++) {
     $(".elementClass").eq(i).slideUp(4000); 
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Duy Pham
Duy Pham
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Fajer39
Fajer39

ASKER

Thank You Duy Pham.