PDA

View Full Version : ModalDialog



mr_ego
Sep 2nd, 2003, 12:05 PM
This code invokes the dialog.

window.showModelessDialog(
"library.php?selborrower", "Selecting Borrower",
"dialogHeight: 300px; dialogWidth: 300px; edge: Raised; " +
"center: Yes; help: No; resizable: No; status: No;"
);

But when I submit a form in the dialog..
It opens the form in a new window.

How do I get the form to submit in the modal dialog?

glenngv
Sep 2nd, 2003, 12:10 PM
That is the behaviour of modal/modeless dialogs. You can't make it submit to itself.

mr_ego
Sep 2nd, 2003, 12:13 PM
Any suggestions?

glenngv
Sep 2nd, 2003, 12:24 PM
Try this suggestion...

http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20538693.html#8500121

or better, don't use modal dialogs.