PDA

View Full Version : Link Disappearing



locbtran
09-16-2011, 04:23 PM
How do I prevent my Link from disappearing??
When I click on the link, "Click Here"

It display, "Look At Me!!" but the link, "Click Here" is GONE
Is there a way to keep my link, "Click Here" from disappearing?
So when I click on the link, "Click Here" the content, "Look At Me!!" should display as well.
thanks


Here are my codes

<html>
<head>

<script type="text/javascript">
function display() {
document.writeln("Look At Me!!");
}
</script>
</head>

<body>
<a href="google.com" onClick="display()">Click Here</a>
</body>

</html>