In my application I want to show a datepicker (jquery) where only some dates are enabled. I get those dates from MySql DB. How can I send these paramemeters to datepicker through ajax?
<input type="text" name="t_Date" id="t_Date">
<script>
$("#t_Date").datepicker({
datesEnabled : ajax_getDates.php // Here what I need help
});
</script>
I don't know whether the getDates
methode exists or not.