prevent default hover
Posted
by meo
on Stack Overflow
See other posts from Stack Overflow
or by meo
Published on 2010-05-02T18:53:49Z
Indexed on
2010/05/02
18:57 UTC
Read the original article
Hit count: 143
jQuery
|JavaScript
I try to prevent the Browser from using the :hover
effect of the CSS.
$("ul#mainFilter a").hover(
function(o){ o.preventDefault(); ...do my stuff... },
function(o){ o.preventDefault(); ...do my stuff... });
I tired it with return false;
to but it does not work.
Does anyone know how to do this?
© Stack Overflow or respective owner