Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prasad Joshi on Apr 17, 2008 03:30
open dhtmlx forum
can i add options to dhtmlxcombo from other form html form

Respected sir,

Hi i am new to dhtmlxcombo.

How can i add options to the dhtmlxcombo which is located in other frame(form)
if i used the combo.addOption(..) it returns invalid combo error. How can i access the combo from different form

Thanking you
Prasad J


Answer posted by Support on Apr 17, 2008 05:03
There is mp difference if combo placed in existing form or in another form, but in case of multi-frame environment you need to use full addressing

    top.frames[name].combo.addOption(...
where name - name of frame|iframe