Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by josh on Apr 24, 2008 11:22
open dhtmlx forum
combobox visibility

i'm trying to swap out a select box with a combo box, everything works great, but i'm trying to figure out how to control the visibility.

i was using...

document.getElementById('CMedDose8').style.display = 'none';

with CMedDose8 being the select box.

using javascript, how can i change the visibility of the combo box?
Answer posted by Support on Apr 25, 2008 03:37
var combo = dhtmlXComboFromSelect("CMedDose8")
....
combo.DOMParent.style.display="none";
Answer posted by josh on Apr 25, 2008 06:57
thanks.