2013-02-14 74 views
0

我需要單獨編輯日期和時間,例如link。我要在jquery中創建一個需要編輯日期和時間的應用程序,比如在silverlight datetimepicker中,所以我需要像上面的鏈接那樣的datetimepicker。日期和時間應該單獨編輯,但在編輯之後,應該在相同的文本框中顯示日期和時間。datetimepicker jquery like silverlight

回答

0

使用引導或jQuery UI的 只需下載幷包括jQuery的網站腳本

jqueryui.com/download/

然後

<script> 
$(function() { 
$("#datepicker").datepicker(); 
}); 
</script> 


<body> 
<p>Date: <input type="text" id="datepicker" /></p> 
</body>