Day: 1
1. on Selectors in JQuery
How to show another div using button onclick?

The above example discussed only $(” #button”).hide() – hides the element with using id=”button”.
If you want to hide or show the class or elements for example:

  • Class: $(“.someclassName”).hide() – hides all elements with class=”someclassName”.
  • Elements: $(“p”).hide() – hides all <p> elements.

Note: for class(“.ClassName”), for elements(“ElementName”),for id(“#IdName”)
2. Working on in JQuery
The give example you will learn how to jQuery events are working and also this is a simple example for testing in your Application JQuery reference is working or not.

Some of Important Events on JQuery

  • Click()
  • Dblclick()
  • On()
  • Hover()

You will practice the above events for example


Get Virtual Training on jQuery and Ajax

Please follow and like us:


Post Views:

Source link
thanks you RSS link


Please enter your comment!
Please enter your name here