Introduction to three syntax of jquery of function

  • 2020-03-26 21:21:56
  • OfStack

Accepts a string containing a CSS selector to match the collection of elements:
 
jQuery(selector,[context]) 

Use the original HTML string to create the DOM element:
 
jQuery(html,[ownerDocument]) 

Bind a function that executes after the DOM document is loaded:
 
jQuery(callback ) 

Related articles: