Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


passing parameter to a popup window

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,709
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> passing parameter to a popup window
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 passing parameter to a popup window - 10/23/2002 4:38:58 PM   
  ronspiv

 

Posts: 1
Score: 0
Joined: 10/23/2002
From: USA
Status: offline
For a web app, I need to create a pop-up window which displays some results of a query which will execute server-side in the asp page to be displayed in the window. The query requires a variable parameter which comes from the calling page.

What approach is best for creating this pop-up window ?

I am trying to use showModalDialog with a variable parameter, but the parameter is not received by the asp page opened in the window. I have used the showModalDialog method with a literal parameter successfully in a similar case, but not with the variable name, even when forced to be received 'byVal' in the VBScript function which calls showModalDialog ( that calling function is called from a button 'onClick' event which passes a value from a form field ).

I also started trying to use the popup object but do not see how to pass the parameter so the asp code can use it as the window is opened with the asp page.
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> passing parameter to a popup window Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts