| Author |
problem with javascript .showModalDialog()
|
kumar kiran
Greenhorn
Joined: Sep 15, 2008
Posts: 11
|
|
hai to all, In my application i am using .showModalDialog(url,window,features)to show one dialouge box and showing a jsp page in that dialouge box which is having a form in that jsp.when i submit the form, another bigger dialouge box is coming.so after submitting the form on my screen i would be having two dialouge boxes.how to navigate to same dialouge box when i submit the form.please solve my problem.........thanks in advance.
|
scjp1.5(87)<br />scwcd in progress....
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
You do not want another window to open when you submit the form? Is that the question? If so what is causing it to open in a new window? Are you doing something in the code? Are you setting a target on the form? Eric
|
 |
kumar kiran
Greenhorn
Joined: Sep 15, 2008
Posts: 11
|
|
|
I am using struts framework.I am able to create dialogue box using showModalDilog()in a javascript function.the box showing a jsp which is having a form.When i submit the form,it is going to struts action class and in config file i am forwarding to same jsp.Instead of showing the same dialog box,it is showing another new window.In config file i specified the same jsp page as the target.what is the problem here......
|
 |
 |
|
|
subject: problem with javascript .showModalDialog()
|
|
|