- Question ?
I have one combo box with this code
var y=new dhtmlXCombo(“combo_zone2”,“FontSize”,80);
y.addOption([[12,12],[14,14],[16,16],[18,18],[20,20],[22,22],[24,24],[32,32],[48,48]]);
y.setComboText("[ Size ]");
Next, I want It action “Hi-like Text” in combo box for ready to input new data
Ex. When i want to set new value of font-size in MS-word when i click in Font-Size Combo it will mark Hi-light text in Font-size.
2. Question ?
How can i config my combo it get just number. Because want to use it in Question 1 too.
I have one combo box with this code
Not possible by API, but can be done by direct DOM manipulations
combo.DOMelem_input.onfocus=function(){
this.select();
}