Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Javascript help : Please

 
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
 
author
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
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 ?
 
Slime does not pay. Always keep your tiny ad dry.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic