Created
December 30, 2014 21:36
-
-
Save andyburke/8cb602f75e9bb9bcab4e to your computer and use it in GitHub Desktop.
selecting with data attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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