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"?

  1. $("p").fadeOut("slow");
  2. $("#p").fadeOut("slow");
  3. $(".p").fadeOut("slow");
  4. $("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");

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.