title: jquery mobile - add button to select menu
body: <p>I'd like to allow user make a manual entry, besides listed in select menu.</p>
  
  <p>So I try in JS to add button "manual" to select control of JQM, and upon click let the user enter his data. But somehow I'm unable to hook onclick event of the button. By clicking on button for first time nothing happens, by second click select opens it's options. See it here <a href="http://jsfiddle.net/jQAMh/17" rel="nofollow">http://jsfiddle.net/jQAMh/17</a> </p>
  
  <p>For demo reasons function to be called is pretty simple:</p>
  
  <pre><code>function userEntry() {
      alert("onclick hook works!");
  }
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance!</p>