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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -