TEST TEXT
How to remove width attr
A slightly-shorter version of the accepted answer:
.width('auto')
You can do that with CSS only:
div[style="position: absolute; top: -136px; overflow: auto; width:1241px;"] {
width: 0px !important;
display: none !important;
}
Don't use inline styles. Use classes.
$(".views").removeClass("a");
$(".views").addClass("b");
But if you really want to, you could do the following:
$(".views").css("width", "");
You could use:
.css('width', 'auto')
I think you must try this:
$(".views").removeAttr('style').attr('style','position: relative; height: 15px; overflow: hidden;');
As easy as
$('div.views').css('width', '');