|
|
|
|
|
| | |
|
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: VBScript/JavaScript variables problem |
From: |
Shailesh Lolam |
Date: |
4/10/2000 12:57:35 AM |
IP: |
203.94.239.217 |
Hi there,
If u want to access the variable in the Pop-up window the pass those variable with URL when the new window is getting created.
EXAMPLE See Javascript below.
open("popup.asp?var1=val1&var2=val2","popupwindow");
or if u want to access form fields from the Pop-up window then use the JavaScript below
var v1 = window.opener.document.myform.myfield.value;
in this way u can access form field of the window from which pop-up window is opened.
Good Luck
Shailesh Lolam
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|