title: How to detect when jQuery mobile opens or close a select menu?
body: <p>I'm using phonegap with jQuerymobile, </p>
  
  <p>When using custom menus, I know that is easy to check if the div with the class "ui-selectmenu-screen" has also the class "ui-screen-hidden", but my problem is that i can't trigger this function, i exactly don't know where is the "click" event triggered, when i click on the collapsed select menu, i have tried:</p>
  
  <pre><code>$('a.ui-btn').bind('click',function() {
      if (  $('.ui-selectmenu-screen').hasClass("ui-screen-hidden");  ) {
         DO WHAT EVER...
      }
  });
  </code></pre>
  
  <p>and many variations of this but is like there is no click event....</p>