Skip to content

Instantly share code, notes, and snippets.

@martinos
Last active September 19, 2017 15:01
Show Gist options
  • Save martinos/7287f2a0f8ea4a28387716f58164d3ab to your computer and use it in GitHub Desktop.
Save martinos/7287f2a0f8ea4a28387716f58164d3ab to your computer and use it in GitHub Desktop.

Display input names with Boostrap 3

If you have tooltips installed you can display all the form input names, by pasting this snippet in the console.

$("form :input").each(function(index, elm) { $(elm).tooltip({title: elm.name, trigger: "manual"}).tooltip('toggle')});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment