Remove the Style attribute on the div tag


Can any one tell me, how do I remove style attribute from this below div?

<div class="ui-state-default ui-jqgrid-hdiv" style="width: 1085px;">

I have tried the below, but,it does not remove it.

$('.ui-state-default ui-jqgrid-hdiv').removeAttr('style')

Thank you

Use dot or comma to join the classes in selector

Live Demo