View Full Version : Setting table cell color using XML data

01-07-2009, 01:03 AM
Hi all,

I have a script that sets the background color of a table cell based on XML data. It works beautifully in Firefox but all the cells in IE appear in the same sickly green color. Can anyone help me here as this is driving me crazy!!

The code in question is here:
<td class=\"dayTrigger\" onmouseover=\"daysDataSet.setCurrentRow('{daysDataSet::ds_RowID} ');rosterData.setCurrentRow('{ds_RowID}');\" spry:repeat=\"daysDataSet\" bgcolor='{daysDataSet::background}'>{daysDataSet::abbr}</td>

The relevant XML is:
<day id="2">