Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. $(function() {
  2. $('#infoLabels label').each(function(idx,lbl) {
  3. var tb = $('#' + lbl.htmlFor);
  4.  
  5. ($(tb).width() > $(this).width()) ? $(this).width($(tb).width()) : $(tb).width($(this).width());
  6. $(this).css('left',$(tb).css('left'));
  7. });
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement