Michael B�rge wrote:

>>>You could check if a variable has been declared (one that is declared only
>>>in that file)
>>>
>>As far as I know, such a trick is impossible in Javascript. If you try to
>>check a variable that hasn't been declared (using "if (myVar)"), you get an
>>error.


Just use: if(typeof var == "undefined")

Take care
Bjoern


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to