Need help grabbing info from asp dropdown list box

Discussion in 'ASP General' started by Adrian Forbes [ASP MVP], Oct 22, 2003.

  1. Make sure your value is in quotes

    <option value="this that">


    "Melissa" <> wrote in message
    news:MGjlb.31940$Rd4.23142@fed1read07...
    > Hi all,
    > I am trying to retrieve data from a dropdown listbox in asp using:
    > <%Response.Write + Request.Form("cboBox")%>
    >
    > The problem is that I only retrieve the first value of the option. For
    > example, if my first option was <option value=this that>, I only can
    > retrieve "this". It won't get the second word.
    >
    > Any help would be appreciated!
    >
    > Thanks!
    >
    >
    >
    Adrian Forbes [ASP MVP], Oct 22, 2003
    #1
    1. Advertising

  2. Adrian Forbes [ASP MVP]

    Melissa Guest

    Hi all,
    I am trying to retrieve data from a dropdown listbox in asp using:
    <%Response.Write + Request.Form("cboBox")%>

    The problem is that I only retrieve the first value of the option. For
    example, if my first option was <option value=this that>, I only can
    retrieve "this". It won't get the second word.

    Any help would be appreciated!

    Thanks!
    Melissa, Oct 22, 2003
    #2
    1. Advertising

  3. Adrian Forbes [ASP MVP]

    Melissa Guest

    Thanks so much for you help. Sometimes it is those simple things that I
    don't see.

    "Adrian Forbes [ASP MVP]" <> wrote in message
    news:#P6IT#...
    > Make sure your value is in quotes
    >
    > <option value="this that">
    >
    >
    > "Melissa" <> wrote in message
    > news:MGjlb.31940$Rd4.23142@fed1read07...
    > > Hi all,
    > > I am trying to retrieve data from a dropdown listbox in asp using:
    > > <%Response.Write + Request.Form("cboBox")%>
    > >
    > > The problem is that I only retrieve the first value of the option. For
    > > example, if my first option was <option value=this that>, I only can
    > > retrieve "this". It won't get the second word.
    > >
    > > Any help would be appreciated!
    > >
    > > Thanks!
    > >
    > >
    > >

    >
    >
    Melissa, Oct 23, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Allen
    Replies:
    1
    Views:
    855
    Scott Allen
    Aug 25, 2004
  2. Mike
    Replies:
    1
    Views:
    795
  3. =?Utf-8?B?RGF2ZSBU?=

    Columns in Dropdown list and list box

    =?Utf-8?B?RGF2ZSBU?=, Jun 25, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    495
    jufemaiz: jc
    Jun 27, 2007
  4. mldardy
    Replies:
    1
    Views:
    743
    mldardy
    Dec 10, 2008
  5. Kermit Piper

    Grabbing ASCII values in a text box

    Kermit Piper, Mar 10, 2006, in forum: Javascript
    Replies:
    1
    Views:
    124
Loading...

Share This Page