Thursday, November 18, 2010

jquery live hover not working

Programmer Question

Hi All ,



I ran into some dropdown flickering issue on IE due to mouseover and mouseout , so i changed the code
to hover and live as the data is dynamic from ajax.



But the following code is not working , i got the latest jquery also.



The following code is getting executed without error but not working



$('.cs-rec').live("hover",
function() {
$(this).find('.cs-title').css('text-decoration','underline');
},
function() {
$(this).find('.cs-title').css('text-decoration','none');
}
);


Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails