2011-07-15 34 views

回答

1
$(".selector").datepicker({ 
    minDate: new Date(2007, 1 - 1, 1), //this sets the date before which no dates will be available 
    showOn: 'button', //this makes it so the callender only pops up when you click the button 
    buttonImage: "images/calendar.gif", //sets the button image 
    buttonImageOnly: true //use an image instead of a button 
}); 

下一次剛纔讀的文檔http://jqueryui.com/demos/datepicker/

+0

非常感謝你格雷格 – Linto