I suggest you put the id nito the value as well, but have it comma delimited, like Value="P123,23"  and just parse that out in your processing page

Simple!
  ----- Original Message -----
  From: [EMAIL PROTECTED]
  To: CF-Talk
  Sent: Monday, February 09, 2004 5:07 PM
  Subject: OT: option id

  Can anyone tell me how to get the value of an option id?

  Example:
  <select name="modelname">
  <option id="23" value="Pl23">P123</option>
  </select>

  Of course, when I output modelname on the next page I get the value, put I
  also need to get the id. Is this possible?

  Thanks!
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to