在我的應用程序中,我想顯示一個datepicker(jquery),其中只啓用了一些日期。我從MySql DB獲取這些日期。我如何通過ajax將這些參數發送到datepicker?Jquery Datepicker - 從mysql數據庫啓用日期
<input type="text" name="t_Date" id="t_Date">
<script>
$("#t_Date").datepicker({
datesEnabled : ajax_getDates.php // Here what I need help
});
</script>
我不知道getDates
梅索德是否存在。
哪裏是你的代碼?你到目前爲止嘗試過什麼? 。 –
' '。不知道'getDates'方法是否存在。 – Priyamanu
請添加您的代碼,請嘗試一下 – Nehal