title: How can I call one function when activete or inactivate a jquery ui accordion?
body: <p>My problem is: I want to change my button height when I active my accordion and when I inactive it, and I don't know how can I do that.</p>
  
  <p>I already know how to set my button height via jquery using another button click    </p>
  
  <pre><code>$("#button1")
      .button()
      .click(function () {
          $("#button2").height(140)
      });
  </code></pre>
  
  <p>and I just want to change it when I activate or inactivate my accordion.
  Can someone help me?</p>