This site uses cookies from Google to deliver its services, to personalize ads and to analyze traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Learn More

Jquery Syntax

Jquery Syntax Web-development (jquery) Jquery Syntax

jQuery Syntax
jQuery Syntax
The jQuery syntax is tailor made forselectingHTML elements and performing someactionon the element(s).
Basic syntax is:$(selector).action()
  • A $ sign to define/access jQuery
  • A (selector) to "query (or find)" HTML elements
  • A jQueryaction() to be performed on the element(s)
Examples:
$(this).hide() - hides the current element.
$("p").hide() - hides all elements.
$(".test").hide() - hides all elements with.
$("#test").hide() - hides the element with.

0 Response to "Jquery Syntax"

Posting Komentar

Contact

Nama

Email *

Pesan *