Created
April 14, 2012 18:50
-
-
Save AaronPresley/2386860 to your computer and use it in GitHub Desktop.
Resize input to bootstrap span
This file contains hidden or 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
var size_bootstraps = function(){ | |
$('form.size_bootstraps').each(function(){ | |
$(this).find('.row').each(function(){ | |
$(this).find('> div').each(function(){ | |
$(this).find('input[type="text"], textarea, select, input.do_size').addClass( | |
$(this).attr('class') ); | |
}); | |
}); | |
}); | |
} | |
size_bootstraps(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment