Skip to main content

Bug Tracker

Side navigation

#7863 closed bug (fixed)

Opened December 29, 2010 07:18PM UTC

Closed December 29, 2010 09:15PM UTC

Last modified April 23, 2011 06:10PM UTC

Setting value of select based on ID containing brackets does not work

Reported by: Owned by:
Priority: low Milestone: 1.5.1
Component: selector Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


<select id="foo[bar]">

<script type="text/javascript">
   $('#foo\\\\[bar\\\\]').val('Three'); // Does nothing in Jquery 1.4.4
Attachments (0)
Change History (4)

Changed December 29, 2010 09:15PM UTC by ajpiano comment:1

resolution: → fixed
status: newclosed

This issue has already been fixed. I know because i spent an hour the other day triaging this exact same issue with someone who found it on IRC!

You can use the latest GIT version on jsFiddle to confirm that the behaviour is fixed.

Changed January 04, 2011 01:30PM UTC by ajpiano comment:2

#7889 is a duplicate of this ticket.

Changed January 08, 2011 03:39AM UTC by jitter comment:3

Duplicate of #7533

Changed April 23, 2011 06:10PM UTC by john comment:4

component: unfiledselector
priority: undecidedlow