Fix IE Select Width using jQuery

It seems like every time you need something to work IE (MS Internet Explorer) really messes things up. So, I thought I’d publish this workaround.

1
2
3
4
5
6
7
fixIESelectWidth = function(obj) {
	if (!isFireFox()) {
		var w = $(obj).width();
		w = w + 5;
		$(obj).width(w);
	}
}

Tagged with:
 

Leave a Reply

You must be logged in to post a comment.