Jump to content
Sign in to follow this  
kokyo

How to mouse click a 'input type="submit"' but no name & alt & image

Recommended Posts

kokyo

It's "https://secure.logmein.com/home.asp?lang=en", there's a login button "Log Me In" in the up-right area. It seems no name, alt, and image. I can re-write it in the very simple code with the same function in below, adding the name "SignIn" to be click by "_IEAction". By the way, how to click it by original code?

<form name="login" method=post action="https://secure.logmein.com/logincheck.asp?action=checkpw">

<input type="hidden" name="ltmpl">

<input type="hidden" name="ltmplcache">

<input name="email" type="text">

<input name="password" type="password">

<input type="submit" name="signIn" value="Log Me In" >

</form>

Share this post


Link to post
Share on other sites
kokyo

An example would be...

$oSubmit=_IEGetObjByName("submit",$oIE)
_IEAction($oSubmit,"click")

Or get the collection of form and use _IEFormSubmit()

_IEFormSubmit works and easy. Thanks a lot.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.