Jump to content
Sign in to follow this  

_IE how to click butten with no ID/Name?

Recommended Posts


Hello, im trying to click the following butten

"<input class="submit" type="submit" value="Commit"/>"

However as you can see there is no name or ID, I have tried using the following to no avail


Local $oBtns = _IETagNameGetCollection($o_frame2, "submit")
For $oBtn In $oBtns
    If ($oBtn.ClassName) = "submit" Then
    _IEAction($oBtn, "Focus")
      _IEAction($oBtn, "click")


I have tried changing the code slightly,

I have tried .Class and .Classname and .Type .Value, Ive tried using Linkgetcollection/TagGetcollection,

Any ideas?

Thanks in advance

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.