mazin
12-30-2002, 05:56 PM
hello
1)Can I Create a new window and passing variables to it from the parent window.
1)Can I Create a new window and passing variables to it from the parent window.
|
Click to See Complete Forum and Search --> : passing parameters t new window mazin 12-30-2002, 05:56 PM hello 1)Can I Create a new window and passing variables to it from the parent window. mazin 01-06-2003, 04:41 PM Mr. Dave first I want to thank you for your help then I want to say that I tested the first thod and it O.K but when I try to use the second method i.e Passing the variables internally I figured out a problem , the next window can't use the passed variable because you give me a code that issue the command (Window.open) before identifying the global variable in the code (winPtr.a1 = a1;) so when the new window opened it can't use the variable (a1) and an error message appear tell me that a1 is not defined. so what is the problem Dave your Code.. var a1 = "63"; winPtr = window.open("url"); winPtr.a1 = a1; webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |