HTML / Javascript callback not executing
<p>The HTML form shows but the javascript callback is not executing.
(and how do I combine into one file?)</p>

<p>thx</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt; Mouse click test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;Mouse Click Test&lt;/h1&gt;
&lt;p&gt;Click the mouse on the test link below. A message below will indicate which button was clicked.&lt;/p&gt;
&lt;h2&gt;&lt;a href = "#" id = "testlink"&gt;Test Link&lt;/a&gt;&lt;/h2&gt;
&lt;form name = "form1"&gt;
&lt;textarea rows = "10" cols = "70" name = "info"&gt;&lt;/textarea&gt;
&lt;/form&gt;
&lt;script  type = "text/javascript" scr = "click.js"&gt;
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<hr>

<pre><code>function mousestatus(e){
    document.write("hello");
    if (!e) e = window.event;
    btn = e.button;
    whichone = (btn &lt; 2) ? "Left" : "Right";
    message = e.type + " : " + whichone + "\n";
    document.form1.info.value += message;
}  
obj = document.getElementById("testlink");
obj.onmousedown = mousestatus;
obj.onmouseup = mousestatus;
obj.onclick = mousestatus;
obj.ondblclick = mousestatus;
</code></pre>
