how to use javascript o get all form's input

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Smith

    #1

    how to use javascript o get all form's input

    any idea how to retrieve all form's input without knowing how many of them?


  • kaeli

    #2
    Re: how to use javascript o get all form's input

    In article <423f0ec9$1_1@n ews.tm.net.my>, someone@nospam. com enlightened us
    with...[color=blue]
    > any idea how to retrieve all form's input without knowing how many of them?
    >[/color]


    Loop through the form.elements[] array. Test for type=="input" if you have
    other elements in there.

    --
    --
    ~kaeli~
    A hangover is the wrath of grapes.



    Comment

    Working...