⬅︎ Back to setAttribute('style', ...) workaround for IE
eval() is devil. this workaround is not going to help. infact it will hang your IE and fill your memory with bunch of variables.If you code little smart using conditions if(document.all) { code here }else{ code here } then everything will be cool.I've tried and it's working in all browsers.
Comment
eval() is devil. this workaround is not going to help. infact it will hang your IE and fill your memory with bunch of variables.
If you code little smart using conditions if(document.all) { code here }else{ code here } then everything will be cool.
I've tried and it's working in all browsers.