Well, I am in need of your help.

There is a main form. I want to show a dialog window on button click event. Dialog widow will have input fields and 
‘OK’ ‘Cancel’ buttons. The input fields in the dialog  should capture what is typed in. Upon closing dialog, it should write back what is
captured to one of the editors in the parent window.

Dialog has to close when either ‘OK’ button or ‘Cancel’ button is clicked. When ‘OK’ clicked dialog will write back what is captured.


Can I use dhtmlxWindows  to achieve my goal?

If so, could you give me a sample ?




Here is a demo.
Textbox on the main page is disabled.
Use window’s controls to change it.

demo.zip (51.6 KB)

Thanks for the quick replay.