Quantcast
Channel: jQuery By Example
Viewing all articles
Browse latest Browse all 122

How to remove all inline styles using jQuery?

$
0
0
Inline styles are not recommended and it also create problem while managing the site. Here is a one liner jQuery solution to remove all inline styles from the page.
$("* [style]").removeAttr("style");
Feel free to contact me for any help related to jQuery, I will gladly help you.

Viewing all articles
Browse latest Browse all 122

Trending Articles