Search and Top Navigation
#9251 closed bug (notabug)
Opened April 24, 2013 01:46PM UTC
Closed April 24, 2013 02:06PM UTC
Last modified April 24, 2013 02:15PM UTC
datepicker fails with same id elements
Reported by: | ronak128 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please click here
I know the HTML is invalid, you don't have to test it, but the browser(any browser incl. oldIe) renders it correctly, even the datepicker-div renders separately for each of the element(that's great), then why it is not setting up the value for that particular element(i.e., the element next to which the datepicker-div is displayed)?? That is wrong.
You might have to change the logic in _attachHandlers function which gets id of instance and pass it on to other methods as argument, but instead of passing the id as an argument, you should have used instance itself.
Please resolve this problem. I'm big fan of jQuery and jQuery UI. This' not a problem of invalid markup.
Possible duplicate of Ticket #9105 but wanted to reopen the issue as genuinely it is an issue.
So don't file a ticket...