Opened 12 years ago
Closed 12 years ago
#6932 closed bug (worksforme)
Bug with Multiple instances of Daterange in same page
Reported by: | write2nag | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi, I have used the standard example of Daterange given in JQueryUI site. And i extended this to diplay two pairs of instances (from/to) in the same page. I have changed the attributes of lables and textboxes accrodingly (from1/to1, from2,to2). Even the javascript is duplicated accordingly to load the datepicker instances. Now when i select a fromdate in the first instance, the dates in todate instances are not getting disabled properly. But when i remove the html/javascript for 2nd pair of instance, this starts working normal. How can i repair the javascript to rectify this and support mutiple instances on the same page.
Please help.
Regards, Nagesh Y H
Change History (3)
comment:1 Changed 12 years ago by
Component: | ui.core → ui.datepicker |
---|---|
Status: | new → open |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | open → closed |
Works for me too: http://jsbin.com/inife3/edit
I remember testing this before (when I changed the status), but I must've missed a reference or something.
Can you provide a test case for your bug report? It seems to work for me just fine.