The getAdjacentText MethodThe getAdjacentText method enables you to get text directly from a web page. You can see the support for this method in Table 6.21. Table 6.21. The getAdjacentText Method
You can use this method to get the text part of an element (without any HTML tags). You pass this method a position argument that indicates where you want to get the text from in relation to the current object; this argument may be set to one of these values:
|