My problem is that i have page which would be refreshed after 10 sec and i have added resize column functionality on th.
But after page refresh after 10 sec. table th is get back to original position.
Main Question is that How I want to get width of particular th after resize th and apply that width to th.
What is jquery event to get width on th resize and also what is method apply width to that th only not others. so that user will see th width size after table refresh.
div {
resize: horizontal;
overflow: auto;
;
}
td {
text-align: center;
}
<div id="banner-message">
<table cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>
<div>One</div>
</th>
<th>
<div>Two</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>ab</td>
<td>cd</td>
</tr>
</tbody>
</table>
</div>