how to remove the specific inline style using jQuery

javascript, jquery

Solution

You can use `css` to remove the inline style:

Setting the value of a style property to an empty string removes that property from an element.

$("#myDiv").css("transform","");

DEMO

Problem

HTML ``` <div id="myDiv" style="width:100px;height:100px;transform:translate3d(0,0,0);"> //Some Content </div> ``` Using jQuery, how to remove the specific inline style i.e transform?

Original source

Related problems