How to find index of a html form element by providing name of id?


Is there any way to find out index of a html form element? I dont want to iterate form.elements array and find the matching control.

You may like to take an html tutorial at

http://referencedesigner.com/tutorials/html/html_1.php

Technorati Tags: , , , , ,