Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7527 closed bug (invalid)

selecting an array

Reported by: Christopher Petty <[email protected]…> 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[]]")

Change History (2)

comment:1 Changed 12 years ago by snover

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.

comment:2 Changed 12 years ago by Christopher Petty <[email protected]…>


Note: See TracTickets for help on using tickets.