title: ASP.NET - jQuery (document).ready() function is not fired for user control
body: <p>I have the following jQuery function in my ASP.net user control:</p>
  
  <pre><code>&lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;script src="~/Scripts/jquery-1.4.1.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script language="javascript" type="text/javascript" src="~/Scripts/jquery-1.4.1.js"&gt;
  
      $(document).ready(function () {
          alert("In Jquery");
          $("[id*=RadioButtonListYesNo]").change(function () {
              alert("In Jquery");
              var res = $('input[type="radio"]:checked').val();
  
              if (res == '1') {
                  $("#divFAFMQues").css("visibility", "hidden");
                  $("#divFAFM").css("visibility", "hidden");
              }
              else {
  
                  $("#divFAFMQues").css("visibility", "visible");
                  $("#divFAFM").css("visibility", "visible");
              }
          });
      });
      &lt;/script&gt;
  
  
  
  &lt;/head&gt;
  </code></pre>
  
  <p>The document.ready function is not getting fired when the page containing the user control is getting loaded. Please help.</p>