By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,775 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,775 IT Pros & Developers. It's quick & easy.

how to use javascript o get all form's input

P: n/a
any idea how to retrieve all form's input without knowing how many of them?
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <42**********@news.tm.net.my>, so*****@nospam.com enlightened us
with...
any idea how to retrieve all form's input without knowing how many of them?

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.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.