View Single Post
Old 01-03-2009, 11:28 PM   #1 (permalink)
rubberchickenmx
CN Coder MDMA
 
rubberchickenmx's Avatar
 
Join Date: Oct 2008
Posts: 3,707
Reputation: 288
rubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the rough

cBay Rating:

Wordsmith 

Default help coders! how to deal with <option value=

yeahhh
so im making a bot
but when selecting a state, its a drop down menu, and when i view its selection source, the states dont have their own "name".....

they have this instead

<option value="Alaska">Alaska</option>

etcc....

heres some of the code
Code:
<select id="citySelect" name="County" class="txt3"><option value="">Select Region</option><option value="Alaska">Alaska</option>
i put

Code:
WebBrowser1.Document.GetElementById("County").SetAttribute("value", TextBox4.Text)
dont trip, county is the input name...
but, when i debug, and start it, the state doesnt fill out... neither does country....
any help??
__________________

Quote:
Originally Posted by CluckBuck View Post
I've seen that amateurish over the head style shot about a million times right before girls start inserting random objects in every orifice they have.
rubberchickenmx is online now   Reply With Quote
Sponsored Links