I have a table that I need to adjust the width of using JavaScript or jQuery.
<div class="dataTables_scrollHeadInner" >
<table class="table table-condensed table-bordered table-striped dataTable no-footer" >
<thead class="bg-gray-active1">
<tr role="row">
<th class="sorting_disabled" >Serial</th>
<th class="sorting_disabled" >dsad</th>
<th class="sorting_disabled" >vg</th>
<th class="sorting_disabled" >sdfg</th>
</tr>
</thead>
</table>
</div>
Specifically, I need the first <th>
element to be 53px in width,
the second <th>
element to be 152px in width,
the third <th>
element to be 500px in width, and
the fourth <th>
element to be 100px in width.