How do I get the current element number? Example: if I wanted to type in the second field on the form and capture its sequence -
<form>
<input name=one....
<input name=two onClick="alert(this.element);"...
Should show me the nuber '1' (second after '0').
What is the proper syntax for this?
<form>
<input name=one....
<input name=two onClick="alert(this.element);"...
Should show me the nuber '1' (second after '0').
What is the proper syntax for this?