Cannot call method 'reload' of undefined jQuery error
<p>My jQuery keeps chucking this error up - 'Cannot call method 'reload' of undefined'. </p>

<p>I basically want the parent page to reload after 8 Seconds (this is synced to refresh once the colorbox closes)</p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
    $('#success').trigger('click');
});
var t=setTimeout(parent.$.fn.colorbox.close,8000);
var s=setTimeout(parent.location.reload(),8000);
&lt;/script&gt;
</code></pre>

<p>Many thanks in advance.</p>
