Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: finding &nbsp characters in strings..


Message #1 by "Stephen Loughborough" <sloughborough@h...> on Fri, 07 Mar 2003 13:51:25 +0000
	This is about document object model (DOM).  This page is quite
instructive and give you an idea about tree structure :
http://www.w3.org/TR/DOM-Level-2-Core/introduction.html

	Then take a look here about Node :
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247
after that you should be able to understand what firstChild and nodeValue
is.

	As to rows and cells, you could consider them as a special method to
access child nodes when the parent node is a TABLE.

	Good reading :-)

> -----Original Message-----
> From: Matthew Kearns [mailto:mkearns@p...] 
> Sent: vendredi 14 mars 2003 15:37
> To: javascript
> Subject: [javascript] RE: finding &nbsp characters in strings..
> 
> 
> Hi,
>     I was wondering is someone can fill me in on this syntax 
> i've seen in
> this forum.
>                 varTbl.rows[i].cells[j].firstChild.nodeValue
> Is this referencing a table in your page? or someother object.
> I haven't seen this before but would find it very helpful to use.
> Can someone explain it?
> Thanks

  Return to Index