title: Using prototype to set an onclick event of a button?
body: <p>I have this button:</p>
  
  <pre><code>&lt;button id="check_button" name ="check_button" type="button" onclick="setLocation('...')"&gt;
      &lt;span&gt;check&lt;/span&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>Now I know I can access it using <code>$('check_button')</code> for example. Is there a way to set the <code>setlocation</code> parameter with Prototype?</p>