Interactive by Nature

Greatest element width with jQuery

Tuesday, August 3rd, 2010

I recently ran into a problem where I needed to get the greatest width of two dynamically loaded email addresses, and give that width to a custom “select” list, so that the select element was, at least, the same width as the widest child element.


custom select menu


Posted in Code, Design, Development, jQuery | No Comments »