Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 27, 2009 06:45
open dhtmlx forum
Combo within Modal window to be enforced with value and text

how to ebforce the value and text of DHTH Combo that is located within DHTX Modal window?
Regular stuff is not working:

MyComboText("No Value selected");
MyCombo.setComboValue("");

It still show old text and old value of this field
Answer posted by Alex (support) on Feb 27, 2009 09:55

How did you put combo into the window ?

If combo is a part of the page which loaded into iframe, it is necessary to use a special approach to call combo methods:

you need to get window object of the page, which is inside iframe, and then call combo methods.