Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q188 Is there a way to access the links in a document?

irt.org | Knowledge Base | JavaScript | Link | Q188 [ previous next ]

Q188 Is there a way to access the links in a document?

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>

Feedback on 'Q188 Is there a way to access the links in a document?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.