Call onload event from document.ready in jQuery
<p>Can I call the onload event from the document.ready of jQuery, like the below:</p>

<pre><code>$(function() {
onloadfunc(param);
});
</code></pre>

<p><strong>VS:</strong></p>

<pre><code>&lt;body onload = "onloadfunc(param);"&gt;
</code></pre>

<p>Are the above two same?</p>

<p>How can I call onloadfunc(param); in JQuery on Load and not on DOM ready?</p>
