need help with drop down email menu |
need help with drop down email menu |
stevo_devo |
Nov 6 2007, 06:39 PM
Post
#1
|
Group: Members Posts: 1 Joined: 6-November 07 Member No.: 4,250 |
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 |
Nov 22 2007, 03:00 PM
Post
#2
|
Group: Members Posts: 2 Joined: 22-November 07 Member No.: 4,366 |
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> |
Lo-Fi Version | Time is now: 19th April 2024 - 03:18 PM |