Consider using javascript modules for global singleton variables. http://developer.mozilla.org/en/docs/Using_JavaScript_code_modules and http://developer.mozilla.org/en/docs/JavaScript_modules
----- Original Message ---- From: Silver Surfer <[EMAIL PROTECTED]> To: Mozdev Project Owners List <[email protected]> Sent: Friday, August 1, 2008 7:03:10 AM Subject: [Project_owners] how to use global js variable use in two XUL files Hi friends, I have one javascript variable which get the value in one XUL (overlay.xul) and I need to get that changed value in another XUL file. The relevant javascript variable has defined in a js file which is included in previous two XUL files. It is not functioning as I expect. Can you give me any ideas for solving it? thanks & regards, -- ~Silver Surfer~ Surfing through time & space http://risingofsilversurfer.blogspot.com/
_______________________________________________ Project_owners mailing list [email protected] https://www.mozdev.org/mailman/listinfo/project_owners
