H
Helmut Jarausch
Hi,
I'm an absolute beginner with JavaScript.
Say, I am in a window which I call WinA
There I have
<script>
var WinA=self
</script>
Later on, while a different window ("WinB") is focused, I tried
<script>WinA.focus()</script>
but it doesn't give focus to the previous Window (WinA).
Are variables in JavaScript "global" or local to a given
window. ( If yes, are there global variables? )
Sorry, if this is a too dumb a question.
Many thanks for your help,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
I'm an absolute beginner with JavaScript.
Say, I am in a window which I call WinA
There I have
<script>
var WinA=self
</script>
Later on, while a different window ("WinB") is focused, I tried
<script>WinA.focus()</script>
but it doesn't give focus to the previous Window (WinA).
Are variables in JavaScript "global" or local to a given
window. ( If yes, are there global variables? )
Sorry, if this is a too dumb a question.
Many thanks for your help,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany