w_culver
05-21-2003, 04:44 AM
Hiya,
Im currently making a script to arrange data in a table and im having serious hastles!
I wonder if anyone can help if i post a lil of my script.
What it is, is that im trying to turn the body data of the table of, with a simple script. It works fine in gorgeous mozilla but nasty IE wont do it for some reason.
function tableControl (tabId) {
//Properties
this.tableId = tabId;
this.table = document.getElementById(this.tableId);
this.tablebody = this.table.getElementsByTagName("tbody").item(0);
this.tablerows = this.tablebody.rows.length;
this.rowdata = new Array();
this.tablebody.innerHTML = ""; <-This line doesn't work in IE :(
Im currently making a script to arrange data in a table and im having serious hastles!
I wonder if anyone can help if i post a lil of my script.
What it is, is that im trying to turn the body data of the table of, with a simple script. It works fine in gorgeous mozilla but nasty IE wont do it for some reason.
function tableControl (tabId) {
//Properties
this.tableId = tabId;
this.table = document.getElementById(this.tableId);
this.tablebody = this.table.getElementsByTagName("tbody").item(0);
this.tablerows = this.tablebody.rows.length;
this.rowdata = new Array();
this.tablebody.innerHTML = ""; <-This line doesn't work in IE :(