Hello,
I need the subject from a mail form to be = to the value selected from a select box. I have the following..
onSubmit( I call the javascript)
javascript...
funcion emailSubject{
document.mailForm.subject.value = document.mailForm.SelectboxName;
}
But it's not working. How do I reference the value from the selectBox. If I say:
document.mailForm.subject.value = "test" it works. I just need to equal it to select Box.
Help?
Thanks
I need the subject from a mail form to be = to the value selected from a select box. I have the following..
onSubmit( I call the javascript)
javascript...
funcion emailSubject{
document.mailForm.subject.value = document.mailForm.SelectboxName;
}
But it's not working. How do I reference the value from the selectBox. If I say:
document.mailForm.subject.value = "test" it works. I just need to equal it to select Box.
Help?
Thanks