setting email address for form via javascript -
02-23-2009
, 01:47 PM
I have a form I want to have people be able to submit to the
appropriate campus.
My form has a simple "mailto:" as it's action and I do NOT have CGI
capabilities on the
box I'm on.
What I want to do do is provide radio boxes with campus choices and an
associated
email address, e.g.:
campus a = Jane Doe email-a = jdoe (AT) college (DOT) edu
campus b= Richard Roe email-b=rroe (AT) college (DOT) edu
I know that I could easily have mailto send to BOTH addresses, but I
want it to go to
just the appropriate campus for the message. Can this be done easily
with javascript and how would I need to restructure the mailto in
order to use the variables?
Thanks in advance.
Giles W. Riesner, Jr. | Library Tech Support | The Community
College of Baltimore County
Phone: 443-840-4245 | Fax: 443-840-4606 | E-Mail:
griesner (AT) ccbcmd (DOT) edu
CCBC. The incredible value of education. |