title: Call a Javascript function from aspx
body: <p>Code from aspx.cs:</p>
  
  <pre><code>.......
  button.OnClientClick = "onButtonClick(this)";
  .....
  </code></pre>
  
  <p>Function in Javascript(written in the aspx file):</p>
  
  <pre><code>&lt;script&gt; 
          function onButtonClick(event) {
             ....
          }
  &lt;/script&gt;
  </code></pre>
  
  <p>The "program" didn't even get to the script.</p>