Social Icons

Saturday, February 2, 2013

JQUERY SYNTAX


JQUERY SYNTAX is:

 $(selector).action();

you can use it like this:

     $(this).hide() -It is used for hides the current element which is select by $(this).

     $("p").hide() -It is used to hide all <p> elements.When this function find HTML tag <p></p>,it will hide all element of this tag.

     $(".test").hide() -It is used to  hide all elements with class="test".

     $("#test").hide() -It is used to hide the element with id="test".

<< Previous || Next >>

This Tutorial written by Md.Tofazzal Haque

No comments:

Post a Comment