<?xml version="1.0" encoding="utf-8"?>
		<feed xmlns="http://www.w3.org/2005/Atom">
		  <title type="text">SkillShare Forum - CSS Beauty - what .childNodes return...?</title>
		  <updated>2013-06-19T23:40:22-04:00</updated>
		  <id>http://cssbeauty.com/skillshare/</id>
		  <link rel="alternate" type="text/html" hreflang="en" href="http://cssbeauty.com/skillshare/discussion/?DiscussionID=990&amp;Focus=6361"/>
		  <link rel="self" type="application/atom+xml" href="http://cssbeauty.com/skillshare/discussion/?DiscussionID=990&amp;Focus=6361&amp;Feed=Atom"/>
		  <generator uri="http://getvanilla.com/" version="1.1.9">
			 Lussumo Vanilla
		  </generator>
		  <entry>
		<title>what .childNodes return...?</title>
		<link rel="alternate" href="http://cssbeauty.com/skillshare/discussion/990/?Focus=6351#Comment_6351" type="application/xhtml+xml" hreflang="en"/>
		<id>http://cssbeauty.com/skillshare/discussion/990/?Focus=6351#Comment_6351</id>
		<published>2006-08-17T21:51:44-04:00</published>
		<updated>2013-06-19T23:40:22-04:00</updated>
		<author>
			<name>pkevil</name>
			<uri>http://cssbeauty.com/skillshare/account/1430/</uri>
		</author>
		<summary type="text" xml:lang="en">
			my html code

  xxx
  
      
  
  xxx
  
      
  


function myfunc(a){
  var a=getElementById('a');
  var b=a.parentNode.childNodes;
  for(var i=0;i
		</summary>
		<content type="html">
			<![CDATA[my html code<br />&lt;ul&gt;<br />  &lt;li&gt;&lt;a href="javascript:myfunc('aaa')"&gt;xxx&lt;/a&gt;&lt;li&gt;<br />  &lt;ul id="aaa"&gt;<br />      &lt;li&gt;&lt;/li&gt;<br />  &lt;/ul&gt;<br />  &lt;li&gt;&lt;a&gt;xxx&lt;/a&gt;&lt;li&gt;<br />  &lt;ul&gt;<br />      &lt;li&gt;&lt;/li&gt;<br />  &lt;/ul&gt;<br />&lt;/ul&gt;<br /><br />function myfunc(a){<br />  var a=getElementById('a');<br />  var b=a.parentNode.childNodes;<br />  for(var i=0;i&lt;b.length;i++){<br />    alert(b[i].nodeName);<br />  }<br /><br />i didn't understand it alert A,#TEXT,#UL<br />i thought i should alert LI UL LI UL<br /><br />WHY....?<br />}]]>
		</content>
	</entry>
	<entry>
		<title>what .childNodes return...?</title>
		<link rel="alternate" href="http://cssbeauty.com/skillshare/discussion/990/?Focus=6353#Comment_6353" type="application/xhtml+xml" hreflang="en"/>
		<id>http://cssbeauty.com/skillshare/discussion/990/?Focus=6353#Comment_6353</id>
		<published>2006-08-17T23:32:23-04:00</published>
		<updated>2013-06-19T23:40:22-04:00</updated>
		<author>
			<name>PettyRider</name>
			<uri>http://cssbeauty.com/skillshare/account/1431/</uri>
		</author>
		<summary type="text" xml:lang="en">
			For starters, that XHMTL is pretty whacky.
		</summary>
		<content type="html">
			<![CDATA[For starters, that XHMTL is pretty whacky.]]>
		</content>
	</entry>
	<entry>
		<title>what .childNodes return...?</title>
		<link rel="alternate" href="http://cssbeauty.com/skillshare/discussion/990/?Focus=6361#Comment_6361" type="application/xhtml+xml" hreflang="en"/>
		<id>http://cssbeauty.com/skillshare/discussion/990/?Focus=6361#Comment_6361</id>
		<published>2006-08-18T04:58:20-04:00</published>
		<updated>2013-06-19T23:40:22-04:00</updated>
		<author>
			<name>nifkin</name>
			<uri>http://cssbeauty.com/skillshare/account/3/</uri>
		</author>
		<summary type="text" xml:lang="en">
			yeah, i'll second PettyRider, if yr not starting from valid X/HTML then trying to use the DOM is going to be a crapshoot.
		</summary>
		<content type="html">
			<![CDATA[yeah, i'll second PettyRider, if yr not starting from valid X/HTML then trying to use the DOM is going to be a crapshoot.]]>
		</content>
	</entry>
	
		</feed>