mopar003
asked on
Collect input elements as one string
Trying to collect all form elements and take all the values into one string. In short, I am trying to validate all inpput options in one fail swoop. Looking for a particular string within the one big blob of text.
var elements = document.forms["myForm"].getElementsByTagName("input");
allList = elements.join();
alert(allList);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window