load() function is not working with datepicker input
Hi!
I have an input text in which i use datepicker.
When i select a date from the datepicker it doesn't work, but when i type the date manually data are loaded correctly.
- <input type="text" id="date_facture" class="required text fl-space2 datepicker-inline" name="date_facture" />
- <script>
- $(function() {
- $("#date_facture").change(function() {
- $("#loaded_facture").load("./_num_facture.php?choice=" + escape($("#date_facture").val()));
- });
- });
- </script>
Does anyone know how to fix that?!
Thanks