We can access the Nth element in the first form by
document.forms[0].elements[N]
imagine that theres function like
<INPUT TYPE=TEXT" onclick="somefu nction(this)">
and...
we have
function somefunction(ob j) {
how can we obtain the N from within the function???
document.forms[0].elements[N]
imagine that theres function like
<INPUT TYPE=TEXT" onclick="somefu nction(this)">
and...
we have
function somefunction(ob j) {
how can we obtain the N from within the function???
Comment