Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created May 15, 2014 10:26
Show Gist options
  • Save carlosrojaso/15665ab3ffb30ff853cb to your computer and use it in GitHub Desktop.
Save carlosrojaso/15665ab3ffb30ff853cb to your computer and use it in GitHub Desktop.
The jQuery Object
// Viewing the number of <h1> tags on the page.
var allHeadings = $( "h1" );
alert( allHeadings.length );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment