What is the purpose of the slideUp() function in jQuery?
Correct answer
C. Hides an element with a sliding effect
16 views
C. Hides an element with a sliding effect
16 views
slideUp() hides an element with a sliding effect by animating its height down to zero.
slideDown() reveals an element the same way and slideToggle() switches between the two. All accept a duration and a callback, e.g. $("#box").slideUp(500).
Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.