I have something like this:
<html><head>
<title>::: js step one ::/title>
<script language="javascript">function myfunc(xxx)
{
document.write(xxx)
};
</SCRIPT>
</head><body>
<a HREF onclick="myfunc('HAHA')">Click here</A>
</body></html>

When I click on the "Click here" the "HAHA" is showing but the html code disapears... What's wrong???