Strange behaviour jquery
<p>Ok, I've seen this in some topics but haven't fixed my script.</p>

<p>I have a piece of jquery that doesn't work because of I use it to manage (validate ) a piece of html (form ) that is loaded using a jquery fucntion load() after loading the page.</p>

<p>But if I put for example an <code>alert("Something")</code> in the script outside the functions, it works.</p>

<p>I've tried putting the validation script inside these beginnings but it doesn't work...</p>

<pre><code>$(window).bind("load", function() {
$(document).ready(function () {
</code></pre>

<p>it is very strange... do have you a solution?</p>

<p>Update: working now, check the first answer's solution!</p>
