JQuery Datepicker doesn't pick a date? Conflict?

I'm trying to customize my datepicker, but is its display inline? I can select a date, but it does not insert the date in the text box?

I included jquery ui css in my stylesheet, added three .js files, core.ui, widget.ui and datepicker without getting any errors? Any ideas?

http://www.florever.com.au/cart

<script type="text/javascript">

    $(function() {
            $( "#delivery-date" ).datepicker();
        });


</script>

<input type="text" size="30" name="delivery-date" id="delivery-date" class="hasDatepicker" val="">
+3
source share
2 answers

I decided that I had several instances of the identifier ...

I am voting to remove this, as I am not sure that it will really help anyone.

+4
source

Where is jQuery? I do not see it anywhere in your source. You must enable jQuery in front of any libraries / widgets that depend on jQuery:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<!-- jQuery UI here -->
<!-- jQuery tools here -->
<!-- etc -->
0
source

Source: https://habr.com/ru/post/1783589/


All Articles