Sign in to follow this  
Followers 0
Annonyreeder

_IE how to click butten with no ID/Name?

2 posts in this topic

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")
   EndIf
Next

 

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
Ant.

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