Я меняю свои коды на совместимость с jQuery 1.8, и я застрял в этом hover
, который не работает. Когда я использовал то же самое с click
, это сработало. Вот мой код, может ли кто-нибудь сказать мне, где я ошибаюсь?
$(document).on('hover', '.top-level', function (event) {
$(this).find('.actionfcnt').show();
$(this).find('.dropfcnt').show();
}, function () {
$(this).find('.dropfcnt').hide('blind', function () {
$('.actionfcnt').hide();
});
});