Passing a variable in as a JQuery ID
<p>I am passing an id into a function as a string.  I want to use that ID to then change the background color.  I have used:</p>

<pre><code>$("#"+address).css("background-color", "#3399FF");
</code></pre>

<p>but it is not changing the background color and when I do a:</p>

<pre><code>console.log($("#"+address).css("background-color"));
</code></pre>

<p>It is coming up as undefined.</p>

<p>How can I pass the variable address into jquery?</p>

<p>Thanks for your help.</p>

<p>Kevin</p>
