Skip to main content

Search and Top Navigation

#4684 closed bug (fixed)

Opened July 14, 2009 09:29PM UTC

Closed July 22, 2009 08:34AM UTC

Datepicker bug when textbox id contains '$'

Reported by: ashish879 Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

In ASP.NET a number of controls are rendered with the '$' inside the element Id.

Ex. <input type="text" id="txt$sample" class="datebox" />

I can use the following 3 valid selectors to display the datepicker for that box:

$('#txt\\\\$sample').datepicker(); $("input:text[id$='sample']").datepicker(); $('.datebox').datepicker();

All 3 of these will display the datepicker when the textbox receives focus, but when a date is selected in the datepicker, an exception is thrown.

Once the "$" is removed from the element id, the error goes away.

Attachments (0)
Change History (2)

Changed July 21, 2009 02:50AM UTC by scottgonzalez comment:1

milestone: TBD1.8

Changed July 22, 2009 08:34AM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

Fixed in r2956.