David, > Respectfully, getElementById() does use the name property if the id property > is not assigned, at least in IE.
mea culpa. You're correct about IE, should have double-checked first. FF (at least 2.0.0.4) doesn't have this "enhancement". I took a look at MSDN to see what might be spec'd for the method: (http://msdn2.microsoft.com/en-us/library/ms536437.aspx) It appears that it's *supposed* to use ids (no mention of names) but, what the heck. The W3C DOM Level 3 Core Spec (http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-getElBId) also indicates that the method uses ids although "if more than one element has an ID attribute with that value, what is returned is undefined." "Undefined" includes names, I guess;-) Thanks for pointing this out, -Stan ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/