title: onCLick() problem
body: <p>I have been reading to stay away from JavaScript for a lot of things, however I was messing around with it and it doesnt seem to work (unless I am blind and have missed something)</p>
  
  <pre><code>&lt;SCRIPT LANGUAGE="text/javascript"&gt;
      function testResults() {
          System.out.println("Got into function");
  }
  &lt;/SCRIPT&gt;
  </code></pre>
  
  <p>And this is my body:</p>
  
  <pre><code>&lt;form action="" method="GET"&gt;
      &lt;input type="button" value="Save" name="saveType" style="margin:10px;" onClick="testResults()"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>From what I have seen of javascipt this should be fine...
  Any suggestions?</p>