[thelist] DOM: Counting node of type 1?

Frank lists at frankmarion.com
Tue Mar 4 19:51:01 CST 2003


Follow up to a previous question:

I have a div containing id'd spans, indented by a tab. Moz counts the tabs
as a text node (which I suppose is correct). How can I go about identifying
only my spans?

I have 4 form fields, an array with 4 places for it's content, and I want
to set one each to each span.

How can I go about identifying each span and assigning them their place in
a div? (first span:1 second span:2 and so on...)

Thanks






More information about the thelist mailing list