Skip to main content

Search and Top Navigation

#10102 closed bug (wontfix)

Opened June 09, 2014 10:04AM UTC

Closed July 14, 2014 06:57PM UTC

IE7-8: input that was added latest is used by all previous DPs

Reported by: ledestin Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery 1.10.2

jQueryUI 1.10.4

Browser: IE7-8 at least (Chrome fine)

OS: Windows XP

Test case:

https://dl.dropboxusercontent.com/u/87810751/jqueryui/datepicker.html

What happens: all datepickers use one input.

What should happen: each datepicker should use corresponding to it input.

Attachments (0)
Change History (5)

Changed June 09, 2014 07:25PM UTC by tj.vantoll comment:1

jQuery UI does not support cloning, and while this isn't strictly speaking a clone (i.e. you're not using the

clone()
method), copying the HTML of a widget is not a good idea. I am however confused why this only happens in IE7 and IE8. I feel like this has come up before.

I reduced this a bit: http://jsbin.com/jorug/1/edit. I'm not too concerned about this because it won't be an issue after the rewrite.

Changed June 10, 2014 01:36AM UTC by ledestin comment:2

1. jsbin doesn't work in IE7 emulation.

2. What kind of rewrite do you suggest?

Changed June 10, 2014 06:39PM UTC by tj.vantoll comment:3

jsBin will work in IE7 if you drop the "/edit" off the URL. The rewrite for datepicker I am referring to is documented here: http://wiki.jqueryui.com/w/page/12137778/Datepicker.

Changed June 11, 2014 03:30AM UTC by ledestin comment:4

Ok, I've implemented a workaround to fix the problem. I copy HTML text before initialising datepickers and then append it to the table when needed.

Changed July 14, 2014 06:57PM UTC by scottgonzalez comment:5

resolution: → wontfix
status: newclosed