Skip to content

Instantly share code, notes, and snippets.

@kariudo
Last active August 29, 2015 14:01
Show Gist options
  • Save kariudo/e95ab97ea509b5ab7878 to your computer and use it in GitHub Desktop.
Save kariudo/e95ab97ea509b5ab7878 to your computer and use it in GitHub Desktop.
Select jQuery based on data attribute
$("htmltag[data-field='" + current +"']");
$("[data-api='Foobar'][data-field='name']").text();
@kariudo
Copy link
Author

kariudo commented May 7, 2014

@kariudo
Copy link
Author

kariudo commented May 7, 2014

consider for intro tour http://clu3.github.io/bootstro.js/

@kariudo
Copy link
Author

kariudo commented May 7, 2014

this would have been an interesting alternative to my method http://vitalets.github.io/x-editable/demo-bs3.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment