PDA

View Full Version : variable inside frame


knguyen99
11-18-2002, 02:39 PM
Is it posible to declare an instance variable inside a frame?

beetle
11-18-2002, 06:55 PM
You can create a global variable in another frame. All global variables are properties to the window, and can thus be declared that way too.

top.frames['frameName'].window.myVar = "someValue";