*
The moose likes HTML, CSS and JavaScript and the fly likes Javascript help : Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript help : Please" Watch "Javascript help : Please" New topic
Author

Javascript help : Please

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jul 31, 2001
Posts: 285
Yes, for an intranet application
Somebody please help
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
you may want to read this
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
%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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript help : Please
 
Similar Threads
Struts2
How to display result in the same jsp page after processing data in a servlet
Doubt on target=_BLANK
Popup to parent communications
Modal Dilag box