This isn't really a scriptaculous question, but it might be interesting
anyway.

I'm generating a rails app and in one form I have a grid of check-boxes
(rows = A..H and col=1..12).

I would like to put a checkbox in the column/row headers to toggle the
boxes in a particular row or column.  Each box has a name like
'position_A1' or 'position_H12'.

My preferred approach would be to get the name of each checkbox that
matches a particular pattern... say /position_A\d+/.  However, I can't
seem to find a way to do this in JS.

Any suggestions of how to do this?


_Kevin
-- 
Posted with http://DevLists.com.  Sign up and save your mailbox.
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to