• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem with javascript .showModalDialog()

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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......
 
    Bookmark Topic Watch Topic
  • New Topic