Cheating Network
 
 

Go Back   Cheating Network > Programming > General
Reload this Page help coders! how to deal with <option value=



General

This is a discussion about help coders! how to deal with <option value= within the General section, where you will General Talk of Programming



Reply
 
LinkBack Thread Tools Display Modes
Old 01-03-2009, 11:28 PM   #1 (permalink)
CN Coder MDMA
 
rubberchickenmx's Avatar
 
Join Date: Oct 2008
Posts: 3,651
Reputation: 285
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 offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-03-2009, 11:31 PM   #2 (permalink)
Senior Member
 
wlindy27's Avatar
 
Join Date: Apr 2008
Posts: 1,052
Reputation: 46
wlindy27 is on a distinguished road

cBay Rating:

Scribe 

Default

Use getelementbyid("citySelect")
__________________

Check out my site!
wlindy27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-03-2009, 11:33 PM   #3 (permalink)
CN Coder MDMA
 
rubberchickenmx's Avatar
 
Join Date: Oct 2008
Posts: 3,651
Reputation: 285
rubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the rough

cBay Rating:

Wordsmith 

Default

yeah, just figured it out.. hmm
but now i have this problem where i select USA, BUT it gives me like england states nd crap

wtf?
__________________

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 offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-03-2009, 11:35 PM   #4 (permalink)
Senior Member
 
slavik19's Avatar
 
Join Date: Oct 2008
Posts: 2,297
Reputation: 170
slavik19 has a spectacular aura aboutslavik19 has a spectacular aura about

cBay Rating:

Wordsmith 

Default

nerd talk is hard
__________________
Free Lockerz Invites!
Great Site, Fun and Gets you Prizes!
PM me your email for a free Invite!
Thank you!
slavik19 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-03-2009, 11:37 PM   #5 (permalink)
CN Coder MDMA
 
rubberchickenmx's Avatar
 
Join Date: Oct 2008
Posts: 3,651
Reputation: 285
rubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the roughrubberchickenmx is a jewel in the rough

cBay Rating:

Wordsmith 

Default

so right now i have
Code:
WebBrowser1.Document.GetElementById("stateSelect").SetAttribute("value", "USA")
            WebBrowser1.Document.GetElementById("citySelect").SetAttribute("value", TextBox4.Text)
it still gives me england states

city select= states
state select = country
i know, fucked up
__________________

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 offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
<option, coders, deal


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Congrats to the CN Coders! Chewy Announcements 41 11-04-2008 01:39 AM
Calling all coders! Chewy Announcements 26 08-21-2008 04:12 PM
Mp3 option on sig Derkel Chit Chat 9 07-12-2008 02:12 AM
Moola Cashout Option sweetdreams Surveys 6 12-31-2007 07:07 PM




Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.