how to run $(window).load() even if something on the page fails to load
<p>I'm using <code>$(window).load()</code> to re-size the minimum height of a text field based on various other heights that change on page load. My script works fine, however, if another script on the page fails to load (for some unknown reason) the <code>$(window).load()</code> doesn't run.</p>

<p>Is there a way to get the <code>$(window).load()</code> to run even if an error has occurred (maybe using <code>.error()</code>), i.e. bypass the errored script?</p>

<p>my current script for the <code>load()</code> event is below if this helps:</p>

<pre><code>$(window).load(function() { 
var imageArea = $('.imageArea').height();
var productDetail = $('.productDetail').height();
var productText = (imageArea - productDetail) - 110; //-110 is the height of another element
$('.productText').css('min-height', productText);
});
</code></pre>
