Home »
MCQs »
jQuery MCQs
Which is the correct jQuery statement to fade out a <p> element with duration effect 'slow'?
47. Which is the correct jQuery statement to fade out a <p> element with duration effect "slow"?
- $("p").fadeOut("slow");
- $("#p").fadeOut("slow");
- $(".p").fadeOut("slow");
- $("p").fadeout();
Answer: A) $("p").fadeOut("slow");
Explanation:
The jQuery statement to fade out a <p> elements with duration effect "slow" is:
$("p").fadeOut("slow");