title: How can I make an input text inside an popover autocomplete
body: <p>I have an popover which has one button and one input text. This popover opens whenever I click on an specific image. I'd like to make the input text inside the popover become autocompleted. </p>
  
  <p>Here's what I've got now: <a href="http://jsfiddle.net/HhpnN/" rel="nofollow">http://jsfiddle.net/HhpnN/</a></p>
  
  <p>I think my jQuery function is not recognizing my .textData class because I created this input text in an img attribute (data-content). Here's the input text creation:</p>
  
  <pre><code>data-content="&lt;input type='text' class='textData' /&gt; &lt;input type='button' class='btn' value='Save' /&gt;"
  </code></pre>