jQuery function to change background color not working
<pre><code>function ajaxFunction2(){
var chooser2 = $('#chooser2').val();
$('#floatcontainertop').css("background",$('#chooser2').val());
}
</code></pre>

<p>Could someone please tell me how to fix my above code so that it works.  I have absolutely no knowledge of jquery and I do not know how to call a variable within a function that I have already predefined.  Thanks for the help! </p>

<p>Chooser2 represents a color, i.e. red, blue, yellow, black.</p>
