I am steaming out a page on the fly with this code.
But of course IE does not support the format
What would be the equivalent for IE?
Code:
var tr, td; var tbody = document.getElementById('caches'); tr = tbody.insertRow(tbody.rows.length); td = tr.insertCell(tr.cells.length); td.setAttribute("colspan", "7"); td.setAttribute("style", "color:#FFFF00; background-color:#D64203; text-align:center;"); td.innerHTML = "<b>*** Caches Attempted On: "+cDate+" ***</b>";
Code:
td.setAttribute("colspan", "7"); td.setAttribute("style", "color:#FFFF00;
Comment