I have done something along this line.
...
<option value="joe**[EMAIL PROTECTED]">Joe</option>
...

Server side you can split the value on "**" and have your
Two values.   

Dim sName, sEmail
sName = split(request("name", "**")(0)
sEmail = split(request("name", "**")(1)

hth


-----Original Message-----
From: Johnny Martinez [mailto:jmartinez@;tmi-la.com] 
Sent: Wednesday, November 06, 2002 4:59 PM
To: ActiveServerPages
Subject: Hidden in Option


Anyone have a tip on how to pass a hidden value along with the value in
a
<select> <option>?

<select name="name">
<option value="joe">Joe</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
<option value="fred">Fred</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
<option value="bill">Bill</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
</select>

This is interrupting the <select><option>.
I want to pass the "name" and "email" which I pulling from a database
within
a loop.

Johnny

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to