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