I am from Germany, so be patient with my English: D
I will take care of the hover function in jQuery to change the background color of some divs on my page. The problem is not with every div when I hover over it.
$(document).ready(function(){ $('#book').hover(function(){ $(this).css('background', '#dfdfdf'); }, function(){ $(this).css('background', '#eee'); }); });
The first div on my page is absolutely right. But the seconds of the div do nothing when I hover over it. What is going wrong: D
Thanks!
Jings source share