title: Hiding HTML table columns with JavaScript
body: <p>I want to hide certain columns of a HTML template with JavaScript. Could anybody tell me how can I achieve this? I've tried giving IDs to the entire column TDs and then making <code>document.getElementById("ID").style.display = "none"</code> but it hides only the first TD.</p>
  
  <p>Thank you.</p>