Displaying 1 result from an estimated 1 matches for "getformvalues".
2007 Mar 26
1
Handling Multiple Select Lists
...;/option>
<option value="AD">Andorra</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AM">Armenia</option>
<option value="AW">Aruba</option>
</select>
// Form Function
function getformvalues (fobj, valfunc){
var str = "";
aok = true;
var val;
//Run through a list of all objects within the form.
for(var i = 0; i < fobj.elements.length; i++){
if(valfunc) {
if (aok == true){
val = valfunc (fobj.elements[i].value,fobj.elements[i].name);
if (val == f...