title: jQuery: Set css background-color for an ID + Variable
body: <p>I am trying to set a background color for an ID + Variable but I can't figure it out. There must be something really small that I am not aware of.</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>var abc = $dialog.data( "url" );
  alert(abc)
  </code></pre>
  
  <p>This Alerts: <strong>item1</strong></p>
  
  <pre><code>var cde = '#' + abc
  alert(cde)
  </code></pre>
  
  <p>This Alerts: <strong>#item1</strong></p>
  
  <p>So far so good. Now, I'm trying to change the background for that ID.
  So:</p>
  
  <p>This works:</p>
  
  <pre><code>$(body).css('background-color', 'black');
  </code></pre>
  
  <p>This <strong>doesn't</strong>:</p>
  
  <pre><code>cde.css('background-color', 'black');
  $(cde).css('background-color', 'black');
  $("#" + abc).css('background-color', 'black');
  </code></pre>
  
  <p>All are in the same function.</p>
  
  <p>What I'm I doing wrong?</p>
  
  <p>Thanks a lot</p>