$(document).ready(function () { var max = 0 $('div.align').each(function () { $(this).find('label').each(function () { width = $(this).width() if (width > max) { max = width } }); $(this).find('label').width(max); max = 0 }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)