title: How can I acess a tag by id inside a specific HTML <template> instance using jquery?
body: <p>I have the following piece of code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;template id="main"&gt;
      &lt;div class="jumbotron"&gt;
          &lt;img id="mimg" class="media-object" src="%placeholder" /&gt;
          &lt;div&gt;%placeholder&lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>which is supposed to act as a template for a post. The way this is supposed to work is that a piece of js loads in a number of instances of this html code into the page and of course replaces the placeholders with the actual text of the entry.<br>
  The problem is that I have no idea how to access the mimg tag inside a specific template instance using jquery.  </p>
  
  <p>So the question is very simeple: If given a DOM object, how can I access an object inside that DOM using its nonunque tag (because theres more than 1 tag)?</p>