|
-
Aug 9th, 2000, 06:49 PM
#1
Thread Starter
Addicted Member
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 |
-
Aug 9th, 2000, 08:54 PM
#2
Hyperactive Member
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.
-
Aug 9th, 2000, 08:59 PM
#3
Thread Starter
Addicted Member
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 |
-
Aug 9th, 2000, 09:03 PM
#4
Hyperactive Member
Oh, that I know nothing about.
Sorry
-
Aug 9th, 2000, 09:04 PM
#5
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|