I want to change the background image, which I built a ChangeBg
function for, to be faded.
Why is this not working? What am I doing wrong?
<script src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.4.js"type="text/javascript"></script>
<script language="JavaScript">
function changeBg (color) {
document.getElementById("wrapper").style.background="url(Images/"+color+".jpg) no- repeat";
$("changeBg").fadeIn("slow"); }
</script>