I have a table with different values. First column contains labels. I need to get the width of the widest label. I assume I need some sort of a loop, but then what?
var w = 0; $("#myTable tr td:first").each(function(){ if($(this).width() > w){ w = $(this).width(); } });