Skip to content

Instantly share code, notes, and snippets.

@Narga
Created June 7, 2012 02:43
Show Gist options
  • Save Narga/2886229 to your computer and use it in GitHub Desktop.
Save Narga/2886229 to your computer and use it in GitHub Desktop.
jQuery - loop through label elements then hide
//http://www.narga.net/making-awesome-forms-inline-labels-with-jquery
$("#signup label").each(function (i) {
$(this).next("input").attr("value",$(this).html()+"..."
$(this).hide();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment