[Javascript] accessing a <label>

David Dorward david at dorward.me.uk
Mon Jun 4 08:17:18 CDT 2007


On 4 Jun 2007, at 13:54, Troy III Ajnej wrote:

> Yeah, sibling throuh whitespace and newline characters is a major
> W3C flaw, those guys are a bunch of idiots. None of them browsers
> out there will interpret empty characters or more than a single white-
> space even if inside the defined html tag, than why on earth, or why
> would he for any reason wanna count newlines on his source code?

(a) Under some circumstances they will (even in HTML documents),  
white space can be significant
(b) DOM is not restricted to HTML documents
(c) Counting new lines? This is about representing character data  
(that just happens to be made up of whitespace) as a node.

> A simple bunch of idiots,...

and you need to read up on mailing list etiquette, specifically on  
the subject of top-posting.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/





More information about the Javascript mailing list