Hi
I have a problem with javascript, which runs perfectly when I deploy app on one server. Same code deployed on another server gives problem. I am using same browser(IE6).
Error is
Could not get the textAlign propert. Invalid argument.
Code is:
var td = document.createElement(‘td’);
td.className = ‘black’;
td.style.padding = ‘4px’;
td.style.whiteSpace = ‘nowrap’;
td.nowrap = “true”;
td.style.backgroundColor = bgColor;
td.gridBackgroundColor = td.style.backgroundColor;
td.lastBackgroundColor = td.style.backgroundColor;
td.style.borderLeftColor = ‘#606465’;
td.style.textAlign = this.cols[this.colCounter].headerAlign;
td.style.borderBottomColor = ‘#606465’;
td.style.borderBottomStyle = ‘solid’;
your help is verymuch appriciated.
Thanks