jquery trigger hover on anchor
Posted
by
Ori Gavriel Refael
on Stack Overflow
See other posts from Stack Overflow
or by Ori Gavriel Refael
Published on 2012-06-17T21:12:15Z
Indexed on
2012/06/17
21:16 UTC
Read the original article
Hit count: 259
im using jqurey to develop in web enviorment. i want to know why
$("#a#trigger").trigger('mouseenter');
$("#a#trigger").trigger('hover');
$("#a#trigger").trigger('mouseover');
all 3 of those aren't working to active a hover function i have.
$(function() {
$('a#trigger').hover(function(e) {
$('div#pop-up').show();
}, function() {
$('div#pop-up').hide();
});
});
});
a#trigger is the name of the anchor, and #pop-up is a div element in my web.
problem is, that i want to mouse over some event in FullCalendar plugin and those functions aint working. Thanks.
© Stack Overflow or respective owner