[thelist] JS typeof operator limitations

MRC webmaster at equilon-mrc.com
Fri Nov 30 14:52:43 CST 2001


Rory,

> The only way around this is to check the type property... for forms, it is
> undefined (i.e. == null in IE), for elements, it is the type of the
element.

    In IE 4+, you can always check for the tagName of the particular
element. Keep in mind that tagNames are always in UPPER case.

James Aylard





More information about the thelist mailing list