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