1.

Which of the following is not the sliding method in jQuery?(a) slideToggle()(b) slideDown()(c) slideUp()(d) slideIn()This question was addressed to me in final exam.I would like to ask this question from Essential JavaScript and jQuery topic in chapter HTML Tables, Javascript & Jquery Basics of HTML

Answer»

Correct answer is (d) slideIn()

Best explanation: jQuery have three slide methods namely slideUp(), slideDown() and slideToggle().

SYNTAX for slideDown() is $(selector).slideDown(SPEED,callback);

For slideUp() we USE $(selector).slideUp(speed,callback).

For slideToggle() METHOD the syntax is $(selector).slideToggle(speed,callback).



Discussion

No Comment Found

Related InterviewSolutions