In my source I have: In the style section:
<head>
<style>
.grayableDiv{background-color:transparent}
</style>
</head>
<script>
function DoGrayEffectIn()
{
$('.grayableDiv').css('background-color', 'Gray');
}
function DoGrayEffectOut()
{
$('.grayableDiv').css('background-color', 'Transparent');
}
</script>
<div class="grayableDiv" onmouseover ="DoGrayEffectIn" onmouseout="DoGrayEffectOut">
But I cannot see the effect when going with the mouse over the div. What am I doing wrong. Is it possible to mix jquery and javascript in this way?