javascript - Why datepicker is not working on 2 textboxes on the same page -
$(function() { $("#date1 , #date2").datepicker({ readonly_element: false, dateformat: 'y-m-d' }); });
try code
$(function() { $("#datepicker1").datepicker(); $("#datepicker2").datepicker(); });
https://jsfiddle.net/dave17/squ5p6ak/
i hope helpful
Comments
Post a Comment