title: How to hide a column in jquery template
body: <p>I am using jquery template to populate order details. I have a hidden field, based upon its value, I need to hide or show a specific column. How to do it. My code look like below</p>
  
  <pre><code>&lt;script id="TestTemplate" type="text/x-jquery-tmpl"&gt;        
          &lt;tr id="trOrderDetail"&gt;
               &lt;td align="right"&gt;${order_id}&lt;/td&gt;      
              {{ if document.getElementById('hdnShowQty').value == "0" }}
               &lt;td align="right"&gt;${qty}&lt;/td&gt;
              {{/if}} 
          &lt;/tr&gt;
      &lt;/script&gt;
  </code></pre>
  
  <p>I tried it, but it is not working.</p>