NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jari@softmade.fi on June 24, 2015, 09:29:03 AM
-
Hello
I have simple browse and form system. Now I want open new form (memory) from form and show there map and some buttons.
How can I close the second form so that at the same time the first form does not close ?
Jari
-
Hi Jari,
are you using a "popup" approach, where the browse is at the back and the form opens as a "window" on top of that?
and then presumably there is an "Other" button on the form which in turn opens your other form? Also as a popup?
cheers
Bruce
-
Yes and yes.
I can close second form with x top right button.
However I want to close the from with buttons of mine own.
Is there any code to do that?
Jari
-
In the server-side code for your "other" button;
p_web.script('ntd.close();')
Cheers
Bruce