Click to See Complete Forum and Search --> : ...Forms...
Mage33
Aug 9th, 2000, 06:49 PM
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.
Zaphod64831
Aug 9th, 2000, 08:54 PM
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:
<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.
Mage33
Aug 9th, 2000, 08:59 PM
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.
Zaphod64831
Aug 9th, 2000, 09:03 PM
Oh, that I know nothing about.
Sorry :(
Mage33
Aug 9th, 2000, 09:04 PM
That's ok, thanks for trying to help :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.