Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript help : Please

 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
This is my requirement.
From page 1 (a.jsp), I have a link and this should open a "modal window".
I am trying it with showModalDialog function.
Now, my modal dialog is a page from which I have a "submit" button. This submit button does search and the search results should be displayed in the same modal window. The submit button has a form.submit() function.
But from the modal window, some how the submit is not happening.
How do I do this ?
Also, from the search results page the results will be having a link and the linked result should be displayed in the parent window.
Please let me know how do I do this in a modal window ?
If its a new window theres no problem and it works fine. But modal window, ..
Please help
Thanks
Shreya
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am guessing you are doing all of this for an intranet?
You are going to run into problems with the modal window since it has certain restrictions. I will look for more information on your problem, but I am trying to get my project at work done, so hopefully someone else knows the answer,,,
Eric
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, for an intranet application
Somebody please help
 
Eric Pascarello
author
Rancher
Posts: 15385
6
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
%Thanks for the link
Creation of modal window is okay.
But how to do a database call from a modal window and display the results in the same modal dialog ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic