How to put my php variable inside of startDate:'01-01-1996 ?
I want just like this startDate:'01-01-date' How to do that?
$curYear = date('Y');
<script type = "text/javascript"charset = "utf-8">
$(function () {
var date = "<?php echo $curYear; ?>";
$('.date-pick').datePicker({
startDate: '01-01-1996'
});
});
</script>