javascript - Increase size of DropDownList in IE? -


i have dropdownlist being populated database on asp.net webform. items of dropdownlist expand according length of items in chrome , mozilla. in ie items of dropdownlist cut off.

i tried ...

var el;  $("select")   .each(function() {     el = $(this);     el.data("origwidth", el.outerwidth()) // ie 8 can haz padding   })   .mouseenter(function(){     $(this).css("width", "auto");   })   .bind("blur change", function(){     el = $(this);     el.css("width", el.data("origwidth"));   }); 

which found http://css-tricks.com/select-cuts-off-options-in-ie-fix/

but doesnt seem working. help!


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -