What is the syntax for finding out the element index number from a
specific element on a form?
For example, if you do
OnClick="document.forms[0].elements[12].checked=true", then when that
element is clicked, whatever the twelfth element is on the form,
assuming it is a checkbox or radio, will become checked. But what
about if you wanted to do the reverse - to click on an element and
have an alert box tell you that you had just clicked on elements[12]
of the form? How do I extract the index number property of that
element?
Hope someone can advise.
Steve Wylie