Skip to main content

Bug Tracker

Side navigation

#7527 closed bug (invalid)

Opened November 16, 2010 01:34AM UTC

Closed November 16, 2010 01:37AM UTC

Last modified November 16, 2010 01:42AM UTC

selecting an array

Reported by: Christopher Petty <> Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

In 1.4.3 i was selecting/processing html arrays as such:

$("input[name=purpose[]]").filter("[value=\\"" + app_arr["purpose"][key] +"\\"]").attr("checked","checked");

With the release of 1.4.4 the my array selection is no longer valid $("input[name=purpose[]]")

Attachments (0)
Change History (2)

Changed November 16, 2010 01:37AM UTC by snover comment:1

resolution: → invalid
status: newclosed

Thanks for the report, but this is not a jQuery bug. input[name=purpose[]] is not a valid selector. You must either place the value part in quotes, or you must escape the square brackets. Please read the api documentation on selectors.

Changed November 16, 2010 01:42AM UTC by Christopher Petty <> comment:2