Search and Top Navigation
#6932 closed bug (worksforme)
Opened February 03, 2011 12:57PM UTC
Closed May 05, 2011 12:09PM UTC
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
Attachments (0)
Change History (3)
Changed February 03, 2011 01:19PM UTC by comment:1
component: | ui.core → ui.datepicker |
---|---|
status: | new → open |
Changed May 05, 2011 09:40AM UTC by comment:2
Can you provide a test case for your bug report? It seems to work for me just fine.
Changed May 05, 2011 12:09PM UTC by comment:3
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.