Skip to content

Instantly share code, notes, and snippets.

@andyburke
Created December 30, 2014 21:36
Show Gist options
  • Save andyburke/8cb602f75e9bb9bcab4e to your computer and use it in GitHub Desktop.
Save andyburke/8cb602f75e9bb9bcab4e to your computer and use it in GitHub Desktop.
selecting with data attributes
<div class=”item-list” data-item-list></div>
$( ‘[data-item-list]’ ).html( itemsHTML );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment