Created
November 12, 2017 08:09
-
-
Save Zulcom/c64fe199a3d02edccc4bc7c297f9b853 to your computer and use it in GitHub Desktop.
Display input size if exist
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
$("input").each( | |
function (i,e){ | |
if(typeof $(this).attr('size') != typeof undefined) | |
$(this).after("<span> ("+$(this).attr('size')+")</span>"); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment