title: How do I add additional parameters to an ExtJS handler?
body: <p>I am using the ExtJS framework and I have the following handler that is used solely as a handler for a button:</p>
  
  <pre><code>var myButtonHandler = function(button, event){
     //code goes here
  };
  </code></pre>
  
  <p>My button definition looks like this:</p>
  
  <pre><code>var myButton = new Ext.Button({
         id : 'myButton',
         renderTo : 'mybutton',
         text : 'Save',
         handler : myButtonHandler,
         scope : this
      });
  </code></pre>
  
  <p>As you can see, the handler receives the expected "button" and "event".  However, I'd like to pass some additional information into my handler.  How would I do that?</p>