Results 1 to 5 of 5

Thread: ...Forms...

  1. #1

    Thread Starter
    Addicted Member Mage33's Avatar
    Join Date
    Aug 2000
    Location
    Petaluma, California
    Posts
    138

    Arrow

    Anyone know how to get whatever is inbetween the <OPTION> and </OPTION> tags? My value is set to te_id, a cell from my database but I also need to return the value the person sees inside the select box. I was thinking of doing a hidden form and doing an onchange on the select box, but I need to find out how to grab that value inside the tags. Thanks for any help you guys can offer.
    Stephen Haney- 115 116 101 118 101 31 72 65 78 69 89
    -ShardsOfSilence.net- ^ My name in ASCII ^
    You forget something new every day
    | WinME | VB6 Pro | MSC++ | Lambda MOO |

  2. #2
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    You know what? I had the EXACT same problem not more than 3 hours ago. I found out that each tag has to have a VALUE property set.

    Example:
    Code:
    <Option value="firstoption">firstoption</Option>
    <Option value="secondoption">secondoption</Option>
    <Option value="thirdoption">thirdoption</Option>
    etc...
    All you have to due is set the value as the same thing as the contents and it will return the contents as the value.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  3. #3

    Thread Starter
    Addicted Member Mage33's Avatar
    Join Date
    Aug 2000
    Location
    Petaluma, California
    Posts
    138

    Talking

    Yeah, I know that, I already had my values set as te_id, which is a database value... the things between the tags were te_event_name... what I ended up doing is making the value equal to te_id & te_event_name and splicing them apart client side.
    Stephen Haney- 115 116 101 118 101 31 72 65 78 69 89
    -ShardsOfSilence.net- ^ My name in ASCII ^
    You forget something new every day
    | WinME | VB6 Pro | MSC++ | Lambda MOO |

  4. #4
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Oh, that I know nothing about.
    Sorry
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  5. #5

    Thread Starter
    Addicted Member Mage33's Avatar
    Join Date
    Aug 2000
    Location
    Petaluma, California
    Posts
    138

    Thumbs up

    That's ok, thanks for trying to help
    Stephen Haney- 115 116 101 118 101 31 72 65 78 69 89
    -ShardsOfSilence.net- ^ My name in ASCII ^
    You forget something new every day
    | WinME | VB6 Pro | MSC++ | Lambda MOO |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width