Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== creating dynamic tables ====== ===== creating table elements ===== Use insertRow and insertCell after the initial table is created. <code js> var tbl = document.createElement('table'); var tr = tbl.insertRow(-1); var td = tr.insertCell(-1); </code> ===== setAttribute with rowspan or colspan isn't working in IE ===== You need to use a capital S like this:<code js> td.setAttribute("rowSpan", "2"); td.setAttribute("colSpan", "2"); </code> docs/browsers/creating_dynamic_tables.txt Last modified: 2010/10/12 15:20by billh