Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ need help with drop down email menu

Posted by: stevo_devo Nov 6 2007, 06:39 PM

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>

Posted by: dingod Nov 22 2007, 03:00 PM

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>

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)