Sign in to follow this  
Followers 0
rogue01

IE form without name

7 posts in this topic

#1 ·  Posted (edited)

Hi,

I'm sorry for probably stupid question in advance, but it seems that I'm not able to figure out how to click on this button myself...

<form id="delivery-and-payment" class="pretty-form" method="post" action="/uzivatel/objednavka/index$180-confirm_setup.html" data-ajax-url="/uzivatel/objednavka/ajax/index$180-confirm_setup.html">

<div class="clearfix">

<div class="float-right"><button type="submit" class="button-green button-green-next"><span>Pokračovat</span></button></div>

it would be nice if you could push me. Thx

Edited by rogue01

Share this post


Link to post
Share on other sites



We might could help if we knew the website. It's impossible to test anything without knowing that.


RAID Calculator | Software Installer

The truth has been suppressed since the dawn of time.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Suspicious i think.

Is that a sample code from the pages source code,is that a paypal acount ?

Maybe

Edited by armoros

[font="verdana, geneva, sans-serif"] [/font]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thanks, I was obviously out yesterday, sry for lack of information. Yes, that's a sample from source code and yes2, it's czech website :)

The trouble i have with this is that I'm able to filter forms by its ID and find this one, but i don't know how to click the link then.

$Found = ""
$form = _IEFormGetCollection ($IE)

For $aform In $form
If $aform.id & "" = "delivery-and-payment" Then
$Found = $aform
;MsgBox(64, "Success", "Found it!")
ExitLoop
EndIf
Next

And to click the button directly I need something like GetObjByClass which is obviously doesn't exist. I'm still not very perceptive today, but I'll try read more about it and figure it out andl let you know. Sry for hasty question.

Edited by rogue01

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I think you could try just invoke _IEFormSubmit() (because your button has type "submit") for your desired form found by _IEFormGetCollection()

Edited by Zedna

Share this post


Link to post
Share on other sites

Yes, all my problem was in wrong variable in my submit function and it took me day of trying strange procedures to finaly see it :) Thx.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0