title: onclick event to call javascript prototype function
body: <p>Is it possible to do something like this inside a class:</p>
  
  <pre><code>&lt;a href="javascript:" onclick="this.remove(id, name)"&gt;Remove&lt;/a&gt;
  </code></pre>
  
  <p>in order to call this:</p>
  
  <pre><code>myclass.prototype.remove = function(id, name){
      //do stuff
  }
  </code></pre>
  
  <p>? Currently my remove function is outside the class on its own, but I need it to be able to access and manipulate the configuration settings array that exists inside the class.</p>