N
neousr
var row = document.createElement('TR');
row.setAttribute('class',tipoclase);
.....
var cell = document.createElement('TD');
var theButton = document.createElement('input');
theButton.setAttribute('type','button');
theButton.setAttribute('value',description);
theButton.setAttribute('class',ButtonClass);
cell.appendChild(theButton);
row.appendChild(cell);
the above code works fine in Mozilla 1.0.7 (applying the style
correctly) but it looks like IE doen't care about the "class"
attribute... It presents fine the table.. but without any style (plain
old cells and buttons). Any idea? Any workaround?
Thanks in Advance..
row.setAttribute('class',tipoclase);
.....
var cell = document.createElement('TD');
var theButton = document.createElement('input');
theButton.setAttribute('type','button');
theButton.setAttribute('value',description);
theButton.setAttribute('class',ButtonClass);
cell.appendChild(theButton);
row.appendChild(cell);
the above code works fine in Mozilla 1.0.7 (applying the style
correctly) but it looks like IE doen't care about the "class"
attribute... It presents fine the table.. but without any style (plain
old cells and buttons). Any idea? Any workaround?
Thanks in Advance..