Contents - Index - Top


RequestElementAttributeById

Interface AntViewDocument

 

Type: Method

Parameters: String Id String AttrName

Returns: nothing

 

 

Request the contents of the attribute as passed for the html element identified by Id.

Note that the id is case sensitive and must match the case of the html element.

The attribute is passed via parameter AttrName.

 

As the request is run asynchronously, the requested value is returned in the OnRequestElementAttributeById event.

 

There's also a synchronous alternative RequestElementAttributeByIdSync that wraps the above into one call.

 

See also: SetElementAttributeById

 

Example: 

Fill Form Example

 

Introduced in AntView release 1.1.354

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024