Skip to main content

Search and Top Navigation

#3515 closed bug (fixed)

Opened October 25, 2008 03:35AM UTC

Closed November 02, 2008 11:36PM UTC

Last modified October 11, 2012 09:15PM UTC

DatePicker broken by ID with period

Reported by: andersonic Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.5.2
Keywords: spring Cc:
Blocked by: Blocking:

If the text input has an ID with a period (.) in it, such as

<input type="text" class="datePicker" id="user.startDate" />

the date picker will not set the value when a number is clicked. You get the error "elem is undefined" for

var id = elem[ expando ]

at jquery-1.2.6.js (line 662).

It appears the problem is that the period confuses the selector for returning to the element. Changing the ID to not have a period fixes the problem, but period-delimited input IDs are central to the Spring framework, so this can't always be worked around.

Attachments (0)
Change History (3)

Changed October 25, 2008 05:29AM UTC by andersonic comment:1

Should have specified this was with Firefox 3.03

Changed November 02, 2008 11:36PM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

Already fixed in 1.6.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted