title: How can I create an embeded HTML template using <script type="text/template"> using jquery
body: <p>I would like to create HTML templates that can be called form jQuery using script tags and then be able to show the HTML using jQuery.</p>
  
  <pre><code>&lt;script type="text/template"&gt;
     &lt;div id="new-post"&gt;
       &lt;form&gt;
         &lt;label&gt;Post Title&lt;/label&gt;
         &lt;input type="text" id="post-title"/&gt;
         &lt;input type="submit" value="Save"/&gt;
       &lt;/form&gt;
     &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>I have found other post on stackoverflow.com, but none are what I'm looking for. Any advice on how to get this working would be appreciated.</p>