<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Yeah, sibling throuh whitespace and newline characters is a major <BR>
W3C flaw, those guys are a bunch of idiots. None of them browsers<BR>
out there will interpret empty characters&nbsp;or more than&nbsp;a single white-<BR>
space even if inside the defined html tag, than why on earth, or why <BR>
would&nbsp;he for any reason wanna count newlines on his source code?<BR>
&nbsp;<BR>
What possible reason would they have to mess with DOM like that?<BR><BR>
A simple bunch of idiots,...<BR>
Thank you.<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Troy III <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; Date: Mon, 4 Jun 2007 08:42:47 -0400<BR>&gt; From: mdougherty@pbp.com<BR>&gt; To: javascript@latech.edu<BR>&gt; Subject: Re: [Javascript] accessing a &lt;label&gt;<BR>&gt; CC: <BR>&gt; <BR>&gt; On 6/3/07, diego nunes &lt;dnunes@gmail.com&gt; wrote:<BR>&gt; &gt; If using the label right before/after the &lt;input&gt; a good solution<BR>&gt; &gt; would do a search for a label in the previousSibling/nextSibling,<BR>&gt; &gt; comparing the "for" attribute. It wouldn't spend as much time as a<BR>&gt; &gt; iteration through the whole getElementsByTagName('label') would.<BR>&gt; <BR>&gt; In that case, I would agree with Nick that it makes as much sense to<BR>&gt; just put the control inside the label tag. It would be easier to get<BR>&gt; the control by id, then go to it's parentNode to get to the label than<BR>&gt; to walk the DOM carefully ignoring whitespace siblings depending on<BR>&gt; browser. Although once you have a decent library for cross-browser<BR>&gt; DOM manipulation, it (probably) would be easier than iterating every<BR>&gt; label on the form. That's why I say it depends on use what the best<BR>&gt; solution would be. It gets even more tricky if you're trying to<BR>&gt; develop a solution to be used against dynamic markup.<BR>&gt; _______________________________________________<BR>&gt; Javascript mailing list<BR>&gt; Javascript@LaTech.edu<BR>&gt; https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />Change is good. See what's different about Windows Live Hotmail. <a href='www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0607' target='_new'>Check it out!</a></body>
</html>