[jQuery] Bug in hover()?
[jQuery] Bug in hover()?
Hi all,
I tried the following:
// bind hover (works!)
$("foobar").hover(
function () {
//do something
},
function () {
//do something else
}
);
// unbind hover (works!)
$("foobar").unbind("mouseover").unbind("mouseleave");
// rebind hober (works not!)
$("foobar").hover(
function () {
//do something
},
function () {
//do something else
}
);
So after unbinding the event I can´t bind the hover function again