Contents - Index - Top


RequestElementOuterHTMLByName

Interface AntViewDocument

 

Type: Method

Parameters: String Name

Returns: nothing

 

 

Requests the  outerHTML  javascript property for the html element identified by Name.

Name is case sensitive.

Note that multiple elements can match the name passed. If this is the case then only the data of the first element that matches the name will be retrieved.

 

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

 

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

 

See also: SetElementOuterHTMLByName

 

Introduced in AntView release 2.0.514

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 04/16/2025