registering functions to DOM ready with jquery
<p>Say I add to First.js:</p>

<pre><code>$(document).ready(

function () {
    dosomething A
    });

function () {
    dosomething C
    });
});
</code></pre>

<p>and to Second.js:</p>

<pre><code>$(document).ready(

function () {
    dosomething B
    });
});
</code></pre>

<p>will all 3 functions be executed after DOM is ready?</p>

<p>What will be the case when I register</p>

<p>to First.js:</p>

<pre><code>$(document).ready(
A = function () {
    dosomething A
    });

C = function () {
    dosomething C
    });
});
</code></pre>

<p>to Second.js:</p>

<pre><code>$(document).ready(
A = function () {
    dosomething A
    });

});
</code></pre>

<p>The later will override the first?</p>

<p>TIA</p>
