how to find element with its name in jquery
How to find checkbox with name checkbox[]
$("#a_tag_id").parent('tr.section_quick_edit').find('input:checkbox[name=c开发者_StackOverflow社区heckbox[]]').val();
$("#a_tag_id").parent('tr.section_quick_edit').find("input:checkbox[name='checkbox[]']").val();
Notice the extra quotes.
Bob
I think what you are looking for is
$("#a_tag_id").parent('tr.section_quick_edit').find('input:checkbox[name=checkbox[]]').attr('name');
精彩评论