Dnia 23-01-2008, Śr o godzinie 14:57 -0600, Siemova pisze:

> Moreover, and more importantly, that would make the feature terribly
> inflexible. If you decided to add or remove items -- or, heaven
> forbid, you wanted to (re)populate your list on-the-fly with a script
> -- you'd have to keep changing the start value by hand. That would be
> well-nigh impossible in certain situations, and I think it's a bit
> unreasonable to expect. 

It is straightforward to count the children of an ordered list element; 
the DOM does it automatically 
so that you need not even use a loop to achieve that.

Chris

Reply via email to