ALL
Solution to IE setAttribute style problem
In IE7, the JavaScript setAttribute("style","attributes") doesn't work, but it works in IE 8 and other web browsers. To solve the STYLE problem in IE 7 we can use a workaround method.we can use element.style.cssText = 'color:#FF0000;';in IE 7 instead ofelement.setAttribute('style','color:#FF0000;');...
4,338 0 JAVASCRIPT STYLE SOLUTION SETATTRIBUTE IE NOT WORK