Lesson - 01
JQUERY : Intro
jQuery SyntaxBasic syntax is:
1. $(this).hide() - hides the current element.
2. $("p").hide() - hides all <p> elements.
3. $(".test").hide() - hides all elements with class="test".
4. $("#test").hide() - hides the element with id="test".
The Document Ready Event
You might have noticed that all jQuery methods in our examples, are inside a document ready event:
// jQuery methods go here...