I'm trying to do something and I'm not sure if I can. We currently create pop-ups using window.open(). These are independent forms that submit their values to completely different tables from the main form but are related (ex. main form - customer order list, pop-up - order detail). Window.open() works well except when the users get click happy and bury the pop-up window. Most of them don't even realize that there is a pop-up.
What I'm trying to do is use window.showModalDialog() to keep these pop-ups on top. This works well until the form is submitted. When that happens, a new browser instance is opened with the forms response loaded in it and the pop-up is unchanged. This doesn't work for us because the form's response is supposed to close the pop-up window and return the focus to the main form.
What I would like to know is, is there anyway to change this behavior or should I give up on using showModalDialog().
Any help would be greatly appreciated.
What I'm trying to do is use window.showModalDialog() to keep these pop-ups on top. This works well until the form is submitted. When that happens, a new browser instance is opened with the forms response loaded in it and the pop-up is unchanged. This doesn't work for us because the form's response is supposed to close the pop-up window and return the focus to the main form.
What I would like to know is, is there anyway to change this behavior or should I give up on using showModalDialog().
Any help would be greatly appreciated.