Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Created September 10, 2010 07:48
Show Gist options
  • Save jonathanconway/573269 to your computer and use it in GitHub Desktop.
Save jonathanconway/573269 to your computer and use it in GitHub Desktop.
Common.context('#news-page', function($) {
console.log(this.html());
});
// output:
// <div id="#news-page">
// <h2>Australian broadband news and information</h2>
// <p>Friday round-up</p>
// </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment