Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I name checkboxes in a table for a javascript?



I have a table with checkboxes. The javascript I wrote for this page disables certain checkboxes when others are checked. I want to name the checkboxes based on the row and column of the table. So if I had a 2 row 2 column table the checkboxes would be name="r1c1" name="r1c2", etc.

I know I can bind the index of the WORepetition to a variable to get the row number, but how can I get the column number so that my bound method can return the r1c1 for the name binding of the checkbox?

Thanks,
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.