Forum Moderators: open

Message Too Old, No Replies

modalwindow

submit button is not working

         

sureshkumar

9:46 am on Jun 22, 2005 (gmt 0)

10+ Year Member



hi all,

iam using showmodalwindow method for popup windows,on popup window we have submit button,when we click on submit button it won't work.same code works fine with normal window.open.
any suggestions please.

thanks
suresh

Moby_Dim

10:05 am on Jun 22, 2005 (gmt 0)

10+ Year Member



May be some simple code error to find.

sureshkumar

10:33 am on Jun 22, 2005 (gmt 0)

10+ Year Member



thanks,

but i have assigned url to form action attribute.
its opening new window and immediately close that window..

suresh

Moby_Dim

10:48 am on Jun 22, 2005 (gmt 0)

10+ Year Member



I do not know the details of your task, but if you need just to open some URL in a new window, place window.open(... in onclick="... of a button, and that's all.

sureshkumar

10:58 am on Jun 22, 2005 (gmt 0)

10+ Year Member



window.open this is fine, but i want to use modalwindow.

our requirement is when we open any popup window,we should not be able to click any other links on main window.

Moby_Dim

11:03 am on Jun 22, 2005 (gmt 0)

10+ Year Member



I meant you have this button in a popup window, not in the parent one.

sureshkumar

11:06 am on Jun 22, 2005 (gmt 0)

10+ Year Member



yes we have it on popup.

Moby_Dim

11:13 am on Jun 22, 2005 (gmt 0)

10+ Year Member



Oh, i've got this. well, you can not have 2 or more windows which all have focus at the same time, of course.

sureshkumar

11:56 am on Jun 22, 2005 (gmt 0)

10+ Year Member



we have only one popup on that we have submit button..
when we click on submit button it won't work,it opens one more window and immediately its closes.

same thing works when we write window.open code.

Moby_Dim

12:30 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



... and the circle is closed ;)

well, as far as i can imagine, you have :

1) an ordinary page - the "parent" one;

2) you open a pop-up from "parent" in a manner, that this pop-up always has focus (modal window), yes?

3) you click on the button in this pop-up to open the 3-rd window, yes? But the popup dominates over it's own child, and the child can not retain focus.

Am I right?

TheWhippinpost

4:30 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



What code are you using to open the modal window? Are you passing the window object as an argument?

Where do you want the submission arguments to go?