javascript - jquery datepicker onclose event not firing -


i have added jquery 1.11 in footer jquery ui 1.11. added ui css @ header. datepicker events not working

$('.datepicker_default').datepicker({         dateformat: 'dd/mm/yy',         onclose: function (datetext, inst) {             alert('working');             //$(this).datepicker('option', 'dateformat', 'dd-mm-yy');         }     }); 

html

 <input type="text" class="form-control datepicker_default" placeholder="dd/mm/yyyy" name="datepicker"> 

here head section , footer https://gist.github.com/anonymous/9a6ed80380612e5cfb82

i think conflic between bootstrap-datepicker , jquery-ui-datepicker

<script type="text/javascript" src="<?php echo base_url('assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js'); ?>"></script> 

bootstrap-datepicker , jquery-ui-datepicker have same

$( "#div" ).datepicker();

http://www.eyecon.ro/bootstrap-datepicker/


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -