Working on Selectors in JQuery Tasks.Best Dot Net Training.

Working on Selectors in JQuery Tasks.

Description: Working on Selectors in JQuery Tasks. Best Dot Net Training.

 

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

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 given 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 the Important Events on JQuery

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

You will practice the above events for example

 

Get Virtual Training on jQuery and Ajax

Working on Selectors in JQuery Tasks.Best Dot Net Training.
Working on Selectors in JQuery Tasks.Best Dot Net Training.
Please follow and like us:
0

Leave a Reply

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