Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Remove inline CSS generated from JS animation? Reply To: Remove inline CSS generated from JS animation?

#148446
TheDoc
Member

You just need to set the style attribute to an empty string. With jQuery:

$('.selector').attr('style','');

http://codepen.io/ggilmore/pen/ac560d9cab03376629342f24ffc578b5