Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript clear style inline property

// vanilla javascript
document.querySelector('div').setAttribute('style', '')

// jquery
$('div').attr('style', '');
 
PREVIOUS NEXT
Tagged: #javascript #clear #style #inline #property
ADD COMMENT
Topic
Name
8+1 =