basic-javascript-appendix-5-ch05-q1.htm / htm
<HTML> <HEAD> <SCRIPT> function displayLinks() { var linksCounter for (linksCounter = 0; linksCounter < document.links.length; linksCounter++) { alert(document.links[linksCounter].href) } } </SCRIPT> </HEAD> <BODY onload="displayLinks()"> <A href="link0.htm" >Link 0</A> <A href="link1.htm">Link 2</A> <A href="link2.htm">Link 2</A> </BODY> </HTML>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.