From: RobG on
On Jul 8, 10:08 am, Garrett Smith <dhtmlkitc...(a)gmail.com> wrote:
> On 2010-07-07 04:20 PM, RobG wrote:
>
> > On Jul 8, 4:58 am, Kevin<kevin.m.mered...(a)gmail.com>  wrote:
> >> Martin, thanks for your help.
>
> [snip links, etc]
>
> > Because b is an Element and neither interface Element nor Node define
> > a length property and you haven't assigned a value to one.
>
> Right, don't expect a length property. Also don't expect to not have a a
> length property. Some elements actually do have a length property (such
> as FORM, SELECT, ...).

Ah yes, they would be defined as properties of relevant interfaces in
the DOM HTML and HTML5 (draft) specifications. The OP seemed to be
using XML though, so only Core seemed relevant.


--
Rob