#7527 closed bug (invalid)
selecting an array
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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[]]")
Note: See
TracTickets for help on using
tickets.
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.