FYI:
When I run in Mozilla Firefox and try to use the dhtmlXComboFromSelect method the line 27 below errors.
parent.getAttribute is not a defined function in mozilla (parent is window).
22 function dhtmlXComboFromSelect(parent,size){
23 if (typeof(parent)==“string”)
24 parent=document.getElementById(parent);
25
26
27 size=size||parent.getAttribute(“width”)||(window.getComputedStyle?window.getComputedStyle(parent,null)[“width”]:(parent.currentStyle?parent.currentStyle[“width”]:0));
The syntax of dhtmlXComboFromSelect is a
dhtmlXComboFromSelect(“id_of_existing_select”);
or
dhtmlXComboFromSelect(select_object);
so first paramter (parent) is mandatory and must be ID or object of select which will be converted to combo.