Hi Andrew,
> I have another table problem...
>
> I have a table with 4 columns and 6 rows (top row is the header row).
> Column 4 contains a date. I have written some script to extract this
> date, check it against the real date and if it has expired, to colour the
> whole row in 'gray'.
>
> It works in the preview part of FrontPage (don't ask why I'm using
> FrontPage!). However, when in IE5, it doesn't.
>
> The line that IE5 cannot read (part of a for loop is:
>
> datesArray[x] = Table1.childNodes[0].childNodes[x+1].childNodes
> [3].childNodes[0].nodeValue;
>
> where 'datesArray' is the array to extract the dates, 'Table1' is the
> table name and x is the row number.
>
> In FrontPage, 'alert(Table1.childNodes[0].childNodes[x+1].childNodes
> [3].childNodes[0].nodeType)' gives a value of 3, whereas in IE5 this line
> is not recognised.
>
> Can you see anything wrong? Is there another way to extract the data from
> a table?
Works for me in IE5, I assume you have your table has an id attribute
containing its name...
<table id=Table1>
(name=Table1 will not work)
HTH,
Chris