sounds like a .net artefact. i would suggest wrapping the form element in a div, which will carry the immutable ID, this can then remain untouched and used in targeting the child elements, and you're free to iterate your way through instances of the checkbox
On 3 March 2011 03:17, <wsg@webstandardsgroup.org> wrote: > ********************************************************************* > WEB STANDARDS GROUP MAIL LIST DIGEST > ********************************************************************* > > > From: Nancy Johnson <njohnso...@gmail.com> > Date: Wed, 2 Mar 2011 11:13:04 -0500 > Subject: looping and <inputs > > We have a situation where there is a checkbox within a loop, there > could be 1 to as many as 50 instances depending on the results of a > query. > > The id is "checkbox" and and is needed to remain the same for > dynamic reasons according to the engineer. > > Therefore won't validate. > > Has anyone come across this and is there any easy solution? > > Thanks in advance, > > Nancy Johnson > > ************************************************************** > Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ************************************************************** > > > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************