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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...