• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can I name checkboxes in a table for a javascript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: How can I name checkboxes in a table for a javascript?
  • From: Kevin Windham <email@hidden>
  • Date: Thu, 25 Oct 2007 11:12:40 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How can I name checkboxes in a table for a javascript?
      • From: Kevin Windham <email@hidden>
  • Prev by Date: Re: preventing sql injection
  • Next by Date: Re: Fetching data into an Array
  • Previous by thread: Re: Many-to-many question ...
  • Next by thread: Re: How can I name checkboxes in a table for a javascript?
  • Index(es):
    • Date
    • Thread