Jump to content

HTML Anchor Tag


Recommended Posts

Can you access the info in the "onclick" of an anchor tag?

I have an <A> that I need to click that is only distinguishable by it's iteration and it's "onlick" information. I would like to be able to identify it by what I find in it's "onclick" info ... is that info exposed?

Lar.

Edited by LarryDalooza

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Link to comment
Share on other sites

Larry,

Can you give the entire solution to your problem incase someone else runs into the same problem??

It's pretty simple.

$oIE = _IEAttach("http://blablabla.com")
 $oTags = _IETagNameGetCollection ($oIE, "a")
 For $oTag in $oTags
 $onclick = $oTag.getAttributeNode("onclick")
 If StringInStr($onclick.value,"blah blah") Then ....
 Next
Edited by weaponx
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...