This is the code that I try inside interactive window on MochiKit site: t=TABLE(null, TR(null, map(partial(TD,null), ["hello!", "how are you?", "fine"]))) writeln(t)
It works in firefox but not in IE 6.0. And also, toHTML(t) return clean HTML inside Firefox, and lots of extra table attributes inside IE. FF: "<table><tr><td>hello!</td><td>how are you?</td><td>fine</td></tr></table>" IE: "<table align=\"\" background=\"\" bgColor=\"\" border=\"\" borderColor=\"\" borderColorDark=\"\" borderColorLight=\"\" cellPadding=\"\" cellSpacing=\"\" cols=\"0\" dataPageSize=\"0\" frame=\"\" height=\"\" rules=\"\" summary=\"\" width=\"\"><tr align=\"\" bgColor=\"\" borderColor=\"\" borderColorDark=\"\" borderColorLight=\"\" ch=\"\" chOff=\"\" dataFld=\"null\" dataFormatAs=\"null\" dataSrc=\"null\" height=\"\" vAlign=\"\"><td abbr=\"\" align=\"\" axis=\"\" background=\"\" bgColor=\"\" borderColor=\"\" borderColorDark=\"\" borderColorLight=\"\" ch=\"\" chOff=\"\" colSpan=\"1\" dataFld=\"null\" dataFormatAs=\"null\" dataSrc=\"null\" headers=\"\" height=\"\" noWrap=\"false\" rowSpan=\"1\" scope=\"\" vAlign=\"\" width=\"\">hello!</td><td abbr=\"\" align=\"\" axis=\"\" background=\"\" bgColor=\"\" borderColor=\"\" borderColorDark=\"\" borderColorLight=\"\" ch=\"\" chOff=\"\" colSpan=\"1\" dataFld=\"null\" dataFormatAs=\"null\" dataSrc=\"null\" headers=\"\" height=\"\" noWrap=\"false\" rowSpan=\"1\" scope=\"\" vAlign=\"\" width=\"\">how are you?</td><td abbr=\"\" align=\"\" axis=\"\" background=\"\" bgColor=\"\" borderColor=\"\" borderColorDark=\"\" borderColorLight=\"\" ch=\"\" chOff=\"\" colSpan=\"1\" dataFld=\"null\" dataFormatAs=\"null\" dataSrc=\"null\" headers=\"\" height=\"\" noWrap=\"false\" rowSpan=\"1\" scope=\"\" vAlign=\"\" width=\"\">fine</td></tr></table>" Any ideas? P.S. After I tried copy/pase from interactive window, it seems that the table is somewhere there but invisible (you can see the text in notepad after paste) ?!? I tied to make it visible (t.style.backgroundColor = "#99f") but it works in FF and not IE.
