Black Friday Sale! Save up to 50% off!

why can't change min date?

yaajlanov2020
11 Posts
yaajlanov2020 posted this 22 September 2024
Ask a Question

I'm using this date input date to change min date, but it's not change date picker
can help me to know why can't change min date?

    $(document).ready(function () {
        $("#date_picker").datepicker({
            minDate: 12
        });
    });
</script>
I'm using this date input date to change min date, but it's not change date picker can help me to know why can't change min date? $(document).ready(function () { $("#date_picker").datepicker({ minDate: 12 }); }); </script>
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
yaajlanov2020
11 Posts
yaajlanov2020 posted this 22 September 2024
    $(document).ready(function () {
        $("#date_picker").datepicker({
            minDate: 12
        });
    });
</script>
$(document).ready(function () { $("#date_picker").datepicker({ minDate: 12 }); }); </script>
yaajlanov2020
11 Posts
yaajlanov2020 posted this 22 September 2024

How to disable previous dates in date picker using JQuery?

How to disable previous dates in date picker using JQuery?
Support Team
Support Team posted this 22 September 2024

Hello

Thank you for contacting us!

jQuery datepicker uses JqueryUI library https://jqueryui.com/datepicker/.
Nicepage uses only the JQuery library, so please add a script for this library:

<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js">
</script>

under Site Settings » » HTML » Additional Head.

...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Thank you for contacting us! jQuery datepicker uses **JqueryUI** library https://jqueryui.com/datepicker/. Nicepage uses only the JQuery library, so please add a script for this library: <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"> </script> under Site Settings » » HTML » Additional Head. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp

Last edited 22 September 2024 by Support Team

You must log in or register to leave comments