Day: 1
1. on Selectors in
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 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


Post Views:
518



Source link
thanks you RSS link
( http://.bestdotnettraining.com/jquery-events-and-selectors/)

LEAVE A REPLY

Please enter your comment!
Please enter your name here