Forked from razvanstan/[jQuery] find element by data attribute
Created
March 1, 2018 16:06
-
-
Save omidnasri/30ed46865cc80983b8393f8bfee0da15 to your computer and use it in GitHub Desktop.
[jQuery] find element by data attribute
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
$('#id').find('[data-name="' + js_var + '"]'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment