Skip to content

Instantly share code, notes, and snippets.

@carlosrojaso
Created May 15, 2014 10:21
Show Gist options
  • Save carlosrojaso/02d285db4fefcc086eb7 to your computer and use it in GitHub Desktop.
Save carlosrojaso/02d285db4fefcc086eb7 to your computer and use it in GitHub Desktop.
Working with Selections
// The .html() method used as a setter:
$( "h1" ).html( "hello world" );
// The .html() method used as a getter:
$( "h1" ).html();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment