title: jquery change background color to hex value
body: <p>I have a table with cell ids of "quest_row1", "quest_row2", etc. I want to change the background color of a cell to a hex value that I am returning via AJAX call to server. </p>
  
  <pre><code>picked_answer = $(this).val();
      x = parseInt($("input#q_num").val());
      $.post("CCRN/submit_answer.php", {num : x, answer:picked_answer}, function(data) 
          {
              alert(data+x);
              $("#quest_row" + x).css({'background-color' : '#' + data});
          });
  </code></pre>
  
  <p>x gets the correct value, say 10. data is returned from AJAX call is correct, say AABBCC. The color does not change but I get no errors. This code does run as the alert box shows the correct values for the data and x. Please help identify my issue!</p>