Tuesday, January 1, 2019

jQuery




➤jQuery is a JavaScript Library.
➤jQuery greatly simplifies JavaScript programming.
➤It is saved as .js
➤$ symbol is its identifier.
➤The following codes explain some jQuery effects like

  • Hide
  • show
  • slideup
  • fadein
  • fadeout
  • toggle
➤The jQuery library is a single JavaScript file, and you reference it with the html tag. The script should br inside the <head> section.


<script>
<head>
<script src="jquery-3.2.1.min.js"></script>
</head>

➤Some examples for the jQuery functions:
$(this).hide() - hide the current element.
"$("p").hide() - hide the all <p> elements.
➤The jQuery function started with :
$(document).ready(function){
});

No comments:

Post a Comment

React React  is a JavaScript library for building user interfaces created by Facebook. It is maintained by Facebook and a community of...