[thelist] Java Script and variables
Oliver Lockwood
isdarksaber at hotmail.com
Wed Jun 13 09:51:03 CDT 2001
Is there a way for the same vaiable to be defined inside and outside a
function?
ie
function getNum
{
whatever = num1;
alert(num1);
}
alert(num1)
----
num 1 outside the function would be the same as inside the function... I
know this doesn't work, it just says that num1 is undefined, but is there
any alternative method for this to work?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the thelist
mailing list