Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test if we have Page_Validators
Message
De
01/07/2008 03:41:15
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01327711
Message ID:
01327808
Vues:
12
>WOW!
>
>Even MS has typos on their Help pages. Luckily google still helps. It should be
>
>if (typeof Page_Validators !="undefined")...
>
>In other words, no parens after typeof.

Huh?

Shouldn't it be if (typeof(Page_Validators) !="undefined") ?
i.e. the problem was in using "==" instead of "!="

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform