title: Twitter Boostrap - Get popover textarea and input value
body: <p>I'm trying to get the input value inside a Bootstrap popover on submit, but i got a empty value.</p>
  
  <pre><code>&lt;div class="popover-markup"&gt; &lt;a href="#" class="trigger"&gt;Popover link&lt;/a&gt; 
      &lt;div class="head hide"&gt;Lorem Ipsum&lt;/div&gt;
      &lt;div class="content hide"&gt;
          &lt;div class="form-group"&gt;
              &lt;input type="text" id="myinput" class="form-control" placeholder="Type something…"&gt;
          &lt;/div&gt;
          &lt;button type="submit" id="mysubmit" class="btn btn-default btn-block"&gt;Submit&lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="footer hide"&gt;test&lt;/div&gt;
  &lt;/div&gt;
  
  $('.popover-markup&gt;.trigger').popover({
      html: true,
      title: 'Get value',
      content: function () {
          return $(this).parent().find('.content').html();
      }
  });
  
  $(document).on("click", "#mysubmit", function () {
      var inputval = $("#myinput").val();
      alert(inputval);
      return false;
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/onigetoc/RvLrA/" rel="noreferrer">http://jsfiddle.net/onigetoc/RvLrA/</a></p>