title: HTML5 button to trigger date input on mobile
body: <p>I have a HTML5 design where I want to be able to use a button to display a date, but I want to use the HTML5 input type="date" to select the date.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;button type="button" id="btnDate" class="btn btn-primary"&gt;
      &lt;span class="glyphicon glyphicon-calendar"&gt;&lt;/span&gt; &lt;span class="date"&gt;27 Jul 2015&lt;/span&gt;
  &lt;/button&gt;
  &lt;input type="date" class="hidden" id="tbDate" /&gt;
  
  &lt;script type="text/javascript"&gt;
      $(document).ready(function() {
          $("#btnDate").click(function () {
              $("#tbDate").focus();
          });
      });             
  &lt;/script&gt;
  </code></pre>
  
  <p>I've tried focus() and click() - neither work...any ideas?</p>