BoxRec a écrit :
Hi Pointy, thanks for replying, no nothing in the console the page
loads without throwing errors :-( I put alerts in to monitor the data
flow and all seems correct. The script retrives the xml and loops
through it extracting the correct attributes ie
alert(orders[i].getAttribute(columnFields[c]));
shows that the equired data has been retrived, but when it is output
oCell.innerText = orders[i].getAttribute(columnFields[c]);
only the empty cell is created. Any help much appreciated, I'm new to
javascript and I have been banging my head against a brick wall for
three days now.
ps I need it to work as I had a big campaign to move all my editors and
visitors to Firefox, I would hate to have to push everyone back to IE.
innerText is a proprietary MSIE extension. textContent, on the other
hand, is W3C DOM 3 compliant:
http://www.w3.org/TR/2004/REC-DOM-Le...e3-textContent
textContent is supported in Firefox 1.x, Mozilla 1.5+, Seamonkey 1.x,
Safari 2.x, Opera 9.x and most likely a few other browsers.
Gérard
--
remove blah to email me