javascript - Why is that Jquery for datepicker is not closing onclick, outside of it? -
i use datepicker jquery select date , below code:
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <script> jquery(function() { jquery( "#datepicker" ).datepicker({dateformat: "yy-mm-dd"}); jquery("#datepicker").blur(function(e) { jquery(this).datepicker("hide"); }); }); </script>
it works when use .blur
function. but, not able change month. when change month, hides. how can resolve problem ?
Comments
Post a Comment