>>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
Hi Viv,
The line (typeof(Page_Validators) == 'undefined' was producing an error. This is very strange indeed, because both typeof Page_Validators and typef(Page_Validators) are supposed to be the same.
May be it's time to re-boot my computer? Anyway, typeof Page_Validators worked, so I'll keep this syntax.
If it's not broken, fix it until it is.
My Blog