Do I have a syntax error?
been messing around with Jquery, wondering if I have an error with this small peice of code, maybe the css function?
Code:
$('#wrap').mouseover(function (){
$(this).css({
'background-color':'#FFFFFF',
'filter':'alpha(opacity=100)',
'opacity ':'1.0'
});
});
here's what it looks like in plain JS that works.
Code:
function mouseOver(){
var oWrap = document.getElementById('wrap');
oWrap.style.backgroundColor = "#FFFFFF";
oWrap.style.filter = "alpha(opacity=100)";
oWrap.style.opacity = 1.0;
}