Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect javascript variable
Message
From
04/12/2006 17:08:24
 
 
To
04/12/2006 16:47:38
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
01174767
Message ID:
01174776
Views:
7
>It seems something as simple as:
>
>
>   if (LevelExtremeListHeight)
>   {
>      var oH=LevelExtremeListHeight
>   }
>
>
>does it.

You may try using the TRY / CATCH.
var oH = 0;
try {
     if (LevelExteremaListHeight)
     {
         oH = LevelExteremaListHeight
     }
CATCH {
     oH = <somedefault value or don't change>
}
I thought there was a function similar to VARTYPE, but I may be thinking of VBscript.

I use too many languages.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform