Okay, this is my first time posting here, so if I'm doing something wrong please let me know. Here's my question:
I've got a page full of pets (this is for an online game). The client wants to be able to select multiple pets at once and change the group that the pet is in. Currently, it's set up to work on a per pet basis. There's a field in the database for the pet's group and all already set up. I know this should be a simple fix but I'm pulling a blank. I've got the javascript select all and the checkboxes all set up - it's just the action behind it. I cannot seem to remember how to actually have the function work for ALL that are selected. Any help would be appreciated. I'm not asking for you guys to write it for me - just point me in the right direction on where to go. I'm assuming I'd use a loop, I just can't seem to figure out exactly how.