JQuery Tasks

Day: 1
1. working 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 events 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:
0

Leave a Reply

Your email address will not be published. Required fields are marked *