How to remove a property from CSS Style using JQuery or Javascript. I want to remove the width property from the below div style. I tried working with the link but it did not help even. The property that i want to remove from style is a div that has no ID associated but has only classname.
<div class="floatHeads" style="left: 0px; top: 59.34px; width: 443px; overflow: hidden; padding-right: 0px; padding-left: 0px; margin-top: 0px; position: absolute; z-index: 1001;">
I tried doing the below:
.floatHe .floatHeads {
width: '';
}
also tried below
$('.floatHeads').css({width: ''});
Nothing from the above worked for me. Please guide.