[thelist] javascript argument in form object

Denis, David DDenis at inlumen.com
Mon May 6 22:32:01 CDT 2002


I'm not sure what to do with this:

function foo(formElementName) {
	document.myForm.formElementName.value = "foo";
}

this won't work.  How do I pass an argument into a form object?

Dave



More information about the thelist mailing list