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

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -