title: Clearly something wrong with my hide/show column function
body: <p>I have added a class to all of the td's associated with my table. I have created a checkbox  and use the following code to select the checkbox, take its value which is just a number, add that number to the word column and put it in a variable. I have a class for instance of, column3. I am using my code to build the name column3 using the value of the checkbox. I want to make it hide that specific class. When I alert the col value it gives me the right name. However when I try to execute the code the column does not hide. I don't know if it has something to do with how jQuery is reading my self created object. Any suggestions would be appreciated. Here is the code for the jQuery.</p>
  
  <pre><code>$("input:checkbox").click(function(){
      if($(this).attr('checked')){
          alert($(this).val());
  
          var col ='column' + $(this).val();
          col = '".' + col + '"'; 
          alert(col);
          $(col).hide();
      }
      else {
          $(col).show();
      }
  </code></pre>