Hi,
in a jsp page, i have this code:
<html:select property=“X” styleId=“X”>
<html:option value=""></html:option>
<html:options collection=“listaAA” property=“anno_acc_studio” labelProperty=“anno_acc_studio”/>
</html:select>
Now, in the html page I don’t see the select object. Why?
If I write in the javascript code
document.getElementById(IdSelect);
the result is null, but if I delete the script
the result is [object]
Why???
Best Regards
Luigi
Now, in the html page I don’t see the select object. Why?
if used ID is correct - the select box element must be replaced with dhtmlxcombo
>>the result is null
When converted to combo, original select box removed from DOM and not accessible to script anymore. So the situation , when you can’t locate original select by getElementById is correct.
Hi,
I am facing the same issue. If that is known issue then can you please let me know how do I access the combo element?
Thanks,
Sunil
input part of combo can be accessed as
var combo = dhtmlXComboFromSelect("some");
combo. DOMelem_input //input