[Help]Click Image Button[Solved]
How can you click this button on a website.
Code:
<input type="image" title="Confirm" alt="Confirm" src="/images/common/btn_confirm.gif"/>
[php]
WebBrowser1.Document.GetElementById("confirm").Inv okeMember("submit")
[/php]
In some case when a ID isn't available You can use forms
' If it's first form on site
[php]
Webbrowser1.document.forms(0).submit
[/php]
'If it's second form on site
[php]
Webbrowser1.document.forms(1).submit
[/php]
yah there is no id avaliable. checked the whole source.
how do you use a form
literary just do this
Webbrowser1.document.forms(0).submit
or this
Webbrowser1.document.forms(1).submit
wat do you mean by form.
btw when i entered:
Webbrowser1.document.forms(0).submit
into vb.net
it says submit is not a member.
Im sorry
[php]
WebBrowser1.Document.Forms(1).InvokeMember("submit ")
[/php]
Forms represents a form element on as site, sites can have numerous 'Forms"
yes thank you. it worked.
btw do you know how to always click yes on security information.
It says this page contains both secure and non secure items. Do you want to display the nonsecure items.
It always popup.
Yes
E.Cancel suppresses messages ,
can you give me full code plz.
nvm. found it
WebBrowser1.ScriptErrorsSuppressed = True
btw is this a good way to make a birthday cracker..
im trying to make this for freestyle.
and right now this is what i am thinking to do.
1) insert password in textbox in webbrowser
2) insert birthday
3) please confirm
4) please enter (pop up saying information is incorect for the website)
5) repeat.
Yes its solved, thats why it has [solved] tags on it. But it's kept open in case its useful.