Conflict with two jquery datepickers on same page

后端 未结 10 882
萌比男神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:06

    On your example both datepickers have different id's and name's, however, the problem you describe is exactly what'll happen if you use the same name for both.

    Does your actual code use different id and name for both datepickers?

提交回复
热议问题