Send comments on this topic.
GetElementById Method
Attachmate.Reflection.Objects Library (Web) > WebDocument Object : GetElementById Method
Id
Element Id.
Gets a Web element by ID.

Syntax

 
object.GetElementById( 
   ByVal Id As String
) As WebElement

Parameters

Id
Element Id.

Example

Copy Code
Dim WDocument As Attachmate.Reflection.Objects.Web.Msie.WebDocument WDocument
Dim WElement As Attachmate.Reflection.Objects.Web.Msie.WebElement WElement
            
WElement = WDocument.GetElementById("USDOLLAR")

See Also