Home »
MCQs »
jQuery MCQs
What is the correct syntax of stop() method?
56. What is the correct syntax of stop() method?
- $(selector).stop(stopAll,goToEnd);
- $(selector).stop(speed,callback);
- $(selector).stop(stopAll,goToEnd,callback);
- $(selector).stop(stopAll,speed);
Answer: A) $(selector).stop(stopAll,goToEnd);
Explanation:
The correct syntax of stop() method is:
$(selector).stop(stopAll,goToEnd);