logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Jake
    • Posted on Sun 2 May 2004

    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.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: