title: Java Script not running on server control ASP.Net
body: <p>I would like to use the jQuery-UI  datepicker on a asp:TextBox control.
  Here is my syntax for the script:</p>
  
  <pre><code>&lt;script&gt; $(function(){$document.getElementById('&lt;%txtvBdayEd.ClientID%&gt;').datepicker({dateFormat: "yy-mm-dd"});
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>it is not working and I am curious is that incorrect?</p>
  
  <p>My id comes from </p>
  
  <pre><code>&lt;asp:Textbox id="txtvBdayEd" CssClass="txtBoxes"  runat="server" Text="PlaceHolder"&gt;&lt;/asp:Textbox&gt;
  </code></pre>