1
這是我的日期選擇如何設置空的文本時,日期選擇不點擊
<script type="text/javascript">
$(document).ready(function() {
var myDate = null;
$("#tanggal").datepicker({
altField: "#alternate",
dateFormat:"yy:mm:dd",
changeMonth:true,
changeYear:true,
yearRange: '1970:2011',
});
});
</script>
代碼這是我在HTML代碼
<div><label>Start:</label><input id="alternate" type="text" name="dateStart" class="input_text" /></div>
<div id="date"><div id="tanggal" ></div></div>
如何設置文本爲空時,我不是點擊在datepicker..thx
? – 2011-04-21 07:30:35
datepicker – user718455 2011-04-21 07:37:06
問題解決日期.. http://elementdesignllc.com/2009/09/jquery-ui-datepicker-inline-select/ – user718455 2011-04-21 07:42:26