title: JQuery gives "Microsoft JScript runtime error: Object doesn't support this property or method" when run
body: <p>I am using a JQuery plugin which is an input mask for a text box. The textbox and JQuery is part of a custom user control and is added dynamically to a repeater control, which is part of a wizard step and control.</p>
  
  <p>However, when I reach the step where the repeater and the user control with JQuery is added, the JQuery throws the following error: "Microsoft JScript runtime error: Object doesn't support this property or method".</p>
  
  <p>All my code is this:</p>
  
  <pre><code>&lt;script src="../../Scripts/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="src="../../Scripts/jquery.maskedinput.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script language="javascript" type="text/javascript"&gt;
  
  
  jQuery(function($){
     $('#&lt;%= date.ClientID %&gt;').mask("99/99/9999");
  
  });
  &lt;/script&gt;
  
  &lt;asp:textbox id="date" runat="server"/&gt;
  </code></pre>
  
  <p>So, I am really stuck as to why I am getting this problem. Can anyone help me, because I do no know why I should be getting this error.</p>
  
  <p>Thanks</p>