| JavaScript Document (8) Events (8) ExtJS (7) Strings (3) |
Accessing all links in a document with JavaScript
Question: Is there a way to access all the links in a document with javascript?Answer: You can access all the links in a document using the documents.links array. The link itself will display the href value, or you can specify the href@} property directly. You can get to the link text using the @[link.innerText property.
Comments:
|