I'm dynamically adding options to a select list in javascript and i
need to be able to set the height of the option, but setting
style.height has not effect, I also tried style.pixelHeig ht but no
joy.
i'm doing something like this (:
var selectControl = document.getEle mentById('MySel ect');
var el = document.create Element('option ');
el.value = "some value";
el.style.height = "500";
selectControl.a ppendChild(el);
any ideas?
need to be able to set the height of the option, but setting
style.height has not effect, I also tried style.pixelHeig ht but no
joy.
i'm doing something like this (:
var selectControl = document.getEle mentById('MySel ect');
var el = document.create Element('option ');
el.value = "some value";
el.style.height = "500";
selectControl.a ppendChild(el);
any ideas?
Comment