if content increase in label than the width of the label should increase automatically in jquery code example
Example 1: jquery set width
$(".example").width("px");
Example 2: get width of div jquery
$("#divId").width();
$(".example").width("px");
$("#divId").width();