Conflict with two jquery datepickers on same page

后端 未结 10 880
萌比男神i
萌比男神i 2021-01-07 19:37

So here is the setup: I have two jquery datepickers, inside a jquery tab, inside a jquery modal dialog window:

\\---/\\---/\\---/_______________
/                    


        
10条回答
  •  梦谈多话
    2021-01-07 20:20

    I think you have another code that interfere with the javascript as this : http://jsfiddle.net/fMD62/

    works perfectly (with jquery 1.9.1 and jqueryui 1.9.2

    maybe try

    $(function() {
        $("#datepicker1,#datepicker2").datepicker();
    });
    

提交回复
热议问题