﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2972	Adding a sort of _IEAttributeGet function to IE.UDF	j0kky	mLipok	"There is no way to get the ""class"" (or other kind of) attribute value of an element using only IE Management UDF.
It can be solved just adding a simple function as:

{{{#!autoit lineno=1 marks=8,11-13
#include <IE.au3>

_Example()

Func _Example()
	Local $oIE = _IECreate(""www.autoitscript.com"")
	Local $oBody = $oIE.document.body
	ConsoleWrite('! ""Class"" = ' & _IEAttributeGet($oBody, ""class"") & @CRLF)
EndFunc   ;==>_Example

Func _IEAttributeGet($obj, $attr)
	Return $obj.GetAttribute($attr)
EndFunc   ;==>_IEAttributeGet

}}}"	Feature Request	assigned		AutoIt		None		GetAttribute IE.UDF	gianlu2live@…
