i used
mycurrent_row.setAttribute("bgcolor", "#EEF4EA");
it worked for both firefox and chrome.but no color was set in ie
i use
mycurrent_row.setAttribute("bgcolor", "#EEF4EA");
mycurrent_row.bgcolor = "#EEF4EA";
it neither work.
How can i set the row’s color in IE?
The attribute is named
bgColor, notbgcolor, but you should rather use the backgroundColor CSS property for styling instead of the deprecated HTML attribute bgColor: