Home »
MCQs »
jQuery MCQs
What is the syntax of jQuery fadeOut() method?
42. What is the syntax of jQuery fadeOut() method?
- $(selector).fadeOut();
- $(selector).fadeOut(callback, speed);
- $(selector).fadeOut(callback);
- $(selector).fadeOut(speed,callback);
Answer: D) $(selector).fadeOut(speed,callback);
Explanation:
The syntax of jQuery method fadeOut() is:
$(selector).fadeOut(speed,callback);