Hello,
I'm trying to pass a var to a function for it to be used as the name of
a form element.
IE:
function doThis(form, elemName) {
if( form.elemName.v alue == false ) {
// do something
}
}
I can't seem to figure out how to use the var where the name goes.
Thanks,
- D
I'm trying to pass a var to a function for it to be used as the name of
a form element.
IE:
function doThis(form, elemName) {
if( form.elemName.v alue == false ) {
// do something
}
}
I can't seem to figure out how to use the var where the name goes.
Thanks,
- D
Comment