« Return to the main article
Hi Kurt,
Not sure why it wouldn't work. Depends what the first element is. May not be a field! Try:
alert(document.forms[0].elements[0].name)
and see what it thinks element 1 is.
Hi Kurt,
Not sure why it wouldn't work. Depends what the first element is. May not be a field! Try:
alert(document.forms[0].elements[0].name)
and see what it thinks element 1 is.