Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

IE and getting infro from a tagname that has "-" inside.

$
0
0
How do I get the "data-toggle" value from a link like this:
<a href="www.google.com" title="" data-toggle="True">google</a>

?

And I'm getting all the link elements using:
[ autoit ]      
Local $AllLinks = _IETagNameGetCollection($oIE, 'a') For $theLink in $AllLinks If $theLink.data-toggle = 'True' then MsgBox(0, '', 'Toggle is True') Next

however, I do not know how to form that $AllLinks.data-toggle, since autoit cannot form data value such as that.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>