Use jQuery to Format Buttons Same Width

added by DotNetKicks
7/29/2016 5:49:14 PM

1 Kicks, 502 Views

Some (many) user interfaces work best when buttons are sized identically, so that instead of this: or this: You have something like this: This is pretty easy to do in JavaScript, and jQuery make it simple to apply the logic to a set of buttons with a common class.