Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect javascript variable
Message
De
04/12/2006 18:19:50
 
 
À
04/12/2006 17:13:50
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
01174767
Message ID:
01174794
Vues:
8
>>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.
>
>Thanks
>
>I had to adjust to:
>
>
>     if (window.LevelExtremeListHeight)
>     {
>         oH = window.LevelExtremeListHeight
>     }
>
>
>to make it work.

glad you found your solution.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform