Jump to content
mickeymouse

Option Tag - list items not sent to server

Recommended Posts

My list of items are multi-words, eg.,  New York.

"New York" is displayed but when selected only the first word is sent, in this case "New".

How can I get all the words sent? (without altering my list)

<select name="name">

<option value=$Row[1]>$Row[1]</option>

Share this post


Link to post
Share on other sites

That's because HTML attribute values have to be surrounded by quotation marks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×