What are the effects methods used in jQuery?

Posted by Pinki | Updated on

jQuery enables us to add effects on a web page. jQuery effects can be categorized into fading, sliding, hiding/showing and animation effects. jQuery provides many methods for effects on a web page

These are the effects methods used in jQuery:

  • show() – It displays or shows the selected elements.
  • hide() – It hides the matched or selected elements.
  • toggle() – It shows or hides the matched elements. In other words, it toggles between the hide() and show() methods.
  • fadeIn() – It shows the matched elements by fading it to opaque. In other words, it fades in the selected elements.
  • fadeOut() – It shows the matched elements by fading it to transparent. In other words, it fades out the selected elements.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers