I want to disable the dates after the current date in my program. I have a date picker written in JavaScript.
sorry for my any mistake ..actually here is I am new
Here is my code
<html>
<head>
<link rel="stylesheet" href=" jquery.datetimepicker.min.css">
<script src=" jquery.js"></script>
<script src=" jquery.datetimepicker.full.js"></script>
</head>
<body>
<input id="datetime">
</body>
<script type="text/javascript">
$("#datetime").datetimepicker({
step: 1
});
$("#datetime").datepicker({minDate: new Date()});
</script>
</html>
I am trying so many datepicker query but all are not working ...backdates are not disable ...so can you help me