$("#txtMyDate").datepicker();
2.使用ASP.NET TextBox Server Control 的寫法:
$("#<%= txtFromDate.ClientID %>").datepicker();
3.當DatePicker 是包在 CSS Scope 中時的寫法:

4.設定每週第一天為星期日的寫法:

結果如下:

5.DatePicker 中文化作法(只要加入中文化的js file 即可):

6.點選Image button 跳出 datepicker 的寫法:

沒有留言:
張貼留言