Bug Tracker

Changes between Initial Version and Version 1 of Ticket #9699, comment 6


Ignore:
Timestamp:
Jul 1, 2011, 10:54:11 AM (8 years ago)
Author:
timmywil
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9699, comment 6

    initial v1  
    1 @anonymous: that would be bad.  The style property is an object which contains all styles, including defaults, for the element.  You could do .attr('style', '') or elem.style.cssText = ''; or set each style individually with the css method as shown above.
     1@anonymous: that would be bad.  The style property is an object which contains all styles, including defaults, for the element.  You could do
     2{{{
     3.attr('style', '');
     4}}}
     5or
     6{{{
     7elem.style.cssText = '';
     8}}}
     9or set each style individually with the css method as shown above.