Ticket #4684 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r2956.

Note: See TracTickets for help on using tickets.