Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sirisha on Aug 12, 2009 03:48
open dhtmlx forum
Get second autocomplete combo object onchange of first autocomplete combo box.

Hello,
i want to Get second autocomplete combo object onchange of first autocomplete combo box.
by using document.getElementById('seocndcomboname') in onchange() function of first autocomplete combo im not getting the second ones object instead getting null. How do i achive this.
PLZ help me... its quite urgent for me.
Answer posted by Alex (support) on Aug 12, 2009 05:24

Hello, 

please use combo object and its API to get its properties instead of  document.getElementById.

for example:

  var comboObj = new dhtmlXCombo(id,name,width);

here comboObj is combo object