Create a drop down list of email addresses

You can create a drop down list of email address by creating a form like the one below. Just change the option values to the email addresses and name you need. 

<form NAME="myform">
<select SIZE="1" NAME="mylist">
<option value="bryan@example.com"> Bryan </option>
<option value="billg@microsoft.com"> Bill Gates </option>
<option value="president@whitehouse.gov"> The President </option>
</select>
<input LANGUAGE="JavaScript" TYPE="button" VALUE="Send email"
ONCLICK="location.href = &quot;mailto:&quot; +
document.myform.mylist.options[document.myform.mylist.selectedIndex].value"
NAME="Send email">
</form>

The result will look like this:

You can create a drop down list of email address by creating a form like the one below. Just change the option values to the email addresses and name you need.



javascript image dow javascript


Back To Top
© 1998 - 2024 psacake.com
Version 7.21 | Advertise on this site