title: Jquery mobile tap on element to remove it
body: <p>I have a function that appends some html on the fly to a container div. I want to be able to tap on this created html and make it go away, but cant seem to get it to work.</p>
  
  <p>So for example if i have this function created from a tap on another element:</p>
  
  <pre><code>function functionName(e){
      $('&lt;div /&gt;').attr({id: 'someid '}).text(' Text Text Text').appendTo('.container');
   } 
  </code></pre>
  
  <p>I want to be able to then remove it like this:</p>
  
  <pre><code>$('someid').tap(function(){
          $(this).remove();
      }
  </code></pre>
  
  <p>Any idea how to make this work?</p>