• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javascript help : Please

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, for an intranet application
Somebody please help
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic