[jQuery] get array elements by name like $("input[@name=myField[]]")
How do you get elements by name if they are named as array?
Ex:
<input type="checkbox" name="myField[]" value="1">
<input type="checkbox" name="myField[]" value="4">
<input type="checkbox" name="myField[]" value="5">
$("input[@name=myField]") does not work
$("input[@name=myField[]]") does not work either
Do I need to escape [] somehow?