Created
June 7, 2012 02:43
-
-
Save Narga/2886229 to your computer and use it in GitHub Desktop.
jQuery - loop through label elements then hide
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
//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