Help - Search - Members - Calendar
Full Version: need help with drop down email menu
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
stevo_devo
At work, I made a page that has a drop down email menu that lists the people that I email frequently. What I want to do is have it so that instead of emailing one person at a time, I can choose multiple people to email. What should I do/change in my program to make this happen? I've been working on the problem with no success. The form is listed below. (thanks in advance!)

<form name="email">
<select name="select" onChange="location=document.email.select.options[document.email.select.selectedIndex].value;">
<option value="mailto:person a@no_email.com">Person A</option>
<option value="mailto:person b@no_email.com">Person B</option>
<option value="mailto:person c@no_email.com">Person C</option>
</select>
</form>
dingod
Hope this helps. Change the size field for how many lines you want to display. Good luck.

<select name="select" onChange="location=document.email.select.options[document.email.select.selectedIndex].value;" size="2" multiple>
<option value="mailto:person a@no_email.com">Person A</option>
<option value="mailto:person b@no_email.com">Person B</option>
<option value="mailto:person c@no_email.com">Person C</option>
</select>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.