Click to See Complete Forum and Search --> : Scope of objects ?


pmugghc
12-21-2002, 09:12 PM
If you define an object, e.g.a string in the header of an HTML, what's the scope, is the same string recognized by an imbedded xxx.js file, so you can assign values to it in the embedded file and reference it back in the main body ?

Another question: I get MS Javascript Editor popping up if I test with IE and there is a bug, but how do you invoke it directly ? Can't find it but it's obviously on my system.

Thanks.

khalidali63
12-21-2002, 10:58 PM
Yes for the first part of your question, you can define a variable in the header,
manipulate it in in xxx.js import file and the reuse it or work on it in the document further down.

Khalid