Jquery Syntax

Jquery Syntax is used to select HTML element and perform some action on that element.
Basic Syntax
$().action()
Code Structure:
$(this).hide();
$('p').slideDown();
Document Ready Event
This event is used to prevent any Jquery code from running before the document is ready.
Code Structure:
$(document).ready(function(
  // Jquery method goes here...
));

Share this

Related Posts