Is there any way to get the position of a form element in
forms[0].elements given the id of that element? e.g. if there are two
checkboxes like this:

 <input type="checkbox" id="AA01" onClick="toggleDisplay(this);">
 <input type="checkbox" id="AA02" onClick="toggleDisplay(this);">

is there a way of saying something like

 document.foms[0].position(this.id)

which would return in this example '1' given the id 'AA02'? Thanks.

-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to