title: How to use jQuery Template to select option?
body: <p>I'm working with form that contain <code>select</code> element. I need to fill <code>select</code> with the data coming via json format. How to use jquery template to fill the <code>select</code> element? </p>
  
  <p>I read about jquery template, it's documentation. But still can't get right result.</p>
  
  <p>2 question: Is it good way to use jQuery Template for big data, for example: 4000 columns? </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="col-lg-5"&gt;
      &lt;select id="sel"&gt;&lt;/select&gt;
  &lt;/div&gt;
  &lt;script id="optionTmpl" type="text/x-jquery-tmpl"&gt;
              {{each $options}}
                  &lt;option value="${$code}"&gt;${$title}&lt;/option&gt;
              {{/each}}
  &lt;/script&gt;
  </code></pre>
  
  <pre><code>    var options = [
      { code: "1", title: "A" },
      { code: "2", title: "B" },
      { code: "3", title: "C" },
      { code: "4", title: "D" },
      { code: "5", title: "E" },
      ];
      $('#optionTmpl').tmpl(options).appendTo('#sel');
  </code></pre>