PDA

Click to See Complete Forum and Search --> : pass two values from list box?


JamesHodson
Sep 21st, 2000, 09:03 AM
Hello All -

I need to pass two values from a list box. I want to pass
The ID AND the Value - or - pass the Value AND the actual selection itself.

<option id="<%=(RsType.Fields.Item("TypHeader").Value)%>" value="<%=(RsType.Fields.Item("TypID").Value)%>"><%=(RsType.Fields.Item("TypHeader").Value)%></option>

How can I do this?

Thanks!

James

monte96
Sep 21st, 2000, 12:23 PM
You can store them both in the Value separated by a character.. like say a pipe | Then your code that uses the values can separate them into two variables. The innertext will not be passed in the form.