It's not possible the way you're retrieving it. I would either: A) User some server side script and write out a JScript array that updated a hidden field everything the onChange event happened on that SELECT
OR B) Concatenate the two values with some delimiter (use some combination that WON'T be included in the name OR e-mail address) and SPLIT that on the following page when you retrieve your values. If you SPLIT that by the delimiter, you will/should have 2 elements to each array, so use arrName(0) for the first value and arrName(1) for the second. Hope that points you in the right direction. Chris Tifer BTW - I prefer option A but sometimes you don't know if they have JavaScript enabled. ----- Original Message ----- From: "Johnny Martinez" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 5:58 PM 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]
