jquery datepicker
<p>For some reason I can't use <code>runat="server"</code> as an attribute for the input tag in order for the jQuery to display the image button and work. Is something wrong without <code>runat="server"</code>? It works fine. And I want the format to be "yyyy/mm/dd" and also I need it for the server because this is where I check to see if the date manually entered is a valid date and that it matches the accepted format. I really want to use an <code>asp:button</code> but since I can't use <code>runat="server"</code> attribute I don't know what to do since that is required for asp controls</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;

  $(document).ready(function(){
    $("#datepicker").datepicker({ showOn: "both", 
                                  buttonImage: "/Content/img/calendar.gif", 
                                  buttonImageOnly: true });
  }); 

&lt;/script&gt;
</code></pre>
