I have a table, where I have checkboxes like:
<input id="id_answer[text_singleline][0][1]" type="checkbox" value="1" name="answer[text_singleline][0][1]">
where the second index [0] is the row, third index [1] is the column. I need to select all checkboxes in a column, something like this:
$('#id_answer\\[text_singleline\\]\\[*\\]\\[0\\]')
Is it possible with jQuery?
If the solution of Frédéric does not work with your use case, you can always use the filter method:
Test it here: http://jsfiddle.net/SmU4z/
More info on the filter method can be found here: http://api.jquery.com/filter/