My web form contains a load of checkboxes. 31 per row and one row for each of a number of rooms. I need to be able to check (say), row1 box 2 and when I check row1 box10, all boxes between 2 and 10 also check automatically. If I then check row2 box11 and row2 box15, then all on row two, between 11 and 15 will be checked. It's such a pain to have to check each one individually.

Can this be done? Can any of you send me to a tutorial where I could work it out? Maybe one of you might have the time to code it for me? (Pm me if you need more ;) )

I think I can merge that with my perl code and get it to continue to work as it does in a plain html page. I changed the second tr trigger and the param name to be a room_number and it works exactly as I hoped for.
yup, it's merged and working :)
Once again, thanks for your help.

@ohgod: Not taken personally, I'm too long in the tooth for that. I still found him to be good at JS but a bit unpleasant at the same time. nuff said I think.