Hello,
I'm hoping someone can shed some light on this, problem is in IE6 and 7. FF is
okay.
I have within my html
<tbody id="dataTable" name="dataTable "></tbody>
And then some javascript (using prototype to get the element)
$('dataTable'). innerHTML = rows;
FF displays the rows correctly.
IE6 and 7 throw and error on the js line above.
If I try and set the innerHTML of a div though in IE6 or 7 it works correctly,
so I'm guessing they just don't support setting the innerHTML of a tbody.
What might the alternatives be, it is tabular data so it kinda needs to go
into a table.
Thanks,
David.
--
#define whilst while
#define perchance if
#define respond return
whilst(someTest ){perchance(som eOtherTest){res pond var;}}
I'm hoping someone can shed some light on this, problem is in IE6 and 7. FF is
okay.
I have within my html
<tbody id="dataTable" name="dataTable "></tbody>
And then some javascript (using prototype to get the element)
$('dataTable'). innerHTML = rows;
FF displays the rows correctly.
IE6 and 7 throw and error on the js line above.
If I try and set the innerHTML of a div though in IE6 or 7 it works correctly,
so I'm guessing they just don't support setting the innerHTML of a tbody.
What might the alternatives be, it is tabular data so it kinda needs to go
into a table.
Thanks,
David.
--
#define whilst while
#define perchance if
#define respond return
whilst(someTest ){perchance(som eOtherTest){res pond var;}}
Comment