I'm using jQuery to develop in web environment.
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 activate a hover function that 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.
The problem is that I want to mouse over some event in FullCalendar plugin and those functions aren't working.
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…