element.setAttribute('style',' ')
Notice the second argument is a space, NOT the empty string. The empty string will not work, it will just ignore it. I've only tested this on FF so far.
element.setAttribute('style',' ')
Notice the second argument is a space, NOT the empty string. The empty string will not work, it will just ignore it. I've only tested this on FF so far.