TGetHtmlEvent:

Get an element's attribute value and put it in memory.

parameter:

Returnname: the returned memory name.
FromAttr: faInnerHtmml, faHref,faValue, faSrc
FromExpress: RE, the attribute value match the expression.
ID: RE, the element's ID.
TagClass, RE, the element's class.
TagName, RE, the element's Name.
PureText, boolean, true or false. the html tag will be removed if the value is true.
WriteLog, boolean, true or false. the returned value will be saved in log file if writelog is true.


for example:

FromAttr = faInnerhtml
fromExpress = ^(.*)$
ID = ^(.*?)$
TagClass = ^usg-(.*?)  did-(.*?)  article$
TagName  =A
ReturnName = title

this instance will get an A element's innerhtml and put in memory with a name "title". you may use the "title" for event below, for example, a TInputEvent's SrcProperty.


