Is it possible to remove inline styles with jQuery? - Stack Overflow

PHOTO EMBED

Fri Jun 24 2022 10:07:30 GMT+0000 (Coordinated Universal Time)

Saved by @sinhabhi #javascript

$('#element').attr('style', function(i, style)
{
    return style && style.replace(/display[^;]+;?/g, '');
});
content_copyCOPY

https://stackoverflow.com/questions/2465158/is-it-possible-to-remove-inline-styles-with-jquery