You are here: irt.org | FAQ | JavaScript | Link | Q188 [ previous next ]
You can access all the links in a document using the documents links array:
<SCRIPT LANGUAGE="JavaScript"><!--
for (var i=0; i < document.links.length; i++)
alert(document.links[i]);
//--></SCRIPT>