How to remove width attribute which is under style attribute using jQuery? April 3, 2023 by Tarik You could use: .css('width', 'auto')