close
最後不用MasterPage來解決... 冏
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$('#<%= txtDate.ClientID %>').datepicker({changeMonth: true,
changeYear: true});
});
</script>
<div class="demo">
<asp:TextBox ID="txtDate" runat="server" >click to select date</asp:TextBox><asp:ImageButton
ID="datepicker" runat="server" />
</div>
$(document).ready(function() {
$('#<%= txtDate.ClientID %>').datepicker({changeMonth: true,
changeYear: true});
});
</script>
<div class="demo">
<asp:TextBox ID="txtDate" runat="server" >click to select date</asp:TextBox><asp:ImageButton
ID="datepicker" runat="server" />
</div>
http://ibtissamchabiba.blogspot.tw/2012/06/how-to-add-datepicker-jquery.html
全站熱搜
留言列表