Variable Javascript

S

Stefano

Posted: Fri Jan 23, 2004 3:59 pm Post subject: Variable Javascript

--------------------------------------------------------------------------------

Hi all,

i have a problem with javascript variable.
I have a script that sets a global variable and open a dialog, then
when i
push a button of this dialog and i read the variable, this variable
isn't set to last value but is not defined.

How can i do for have equal reference for this variable.?

Thanks

Stefano

I use Mozilla 1.4
 
R

Rene Nyffenegger

Posted: Fri Jan 23, 2004 3:59 pm Post subject: Variable Javascript

--------------------------------------------------------------------------------

Hi all,

i have a problem with javascript variable.
I have a script that sets a global variable and open a dialog, then
when i
push a button of this dialog and i read the variable, this variable
isn't set to last value but is not defined.

How can i do for have equal reference for this variable.?

Thanks

Stefano

I use Mozilla 1.4

Stefano

It would definitely help if you posted your code.

Probably, in the dialog, you need to read something like
opener.window.your_global_variable

hth
Rene
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top