IE fires onresize when body resizes
<p>I have the following function - it works fine in Firefox:</p>

<p>How I can I get this to fire on body resize in IE??</p>

<pre><code>function sizeColumnHeadings() {
    var $headingsTable = $('#TopicPostList_hdiv &gt; table').eq(0),
        $rowsTable = $('#TopicPostList_div &gt; table').eq(0);

    if ($headingsTable.length &amp;&amp; $rowsTable.length) {
        $headingsTable.width($rowsTable.width());
    }
}




$(window).on('resize', function() {
        sizeColumnHeadings();
    }).trigger('resize');
</code></pre>
