I\'ve got a problem that I\'m sure is simple, but I can\'t work it out. I have a list of checkboxes with ids, I can select the checkboxes and get all the ids by doing the follo