이것은 내 웹 사이트 -> www.superim.ir입니다. 템플릿 기반은 부트 스트랩이며 nav 메뉴에서 일부 효과를 위해 아래 코드를 사용했습니다!JavaScript가 asp.net의 UpdatePanel을 실행 한 후에 작동하지 않습니다.
$('.productbar .dropdown').on('show.bs.dropdown', function (e) {
$(this).find('.dropdown-menu').first().stop(true, true).fadeIn(300);
$(this).find('.dropdown-menu').first().stop(true, true).animate({ top: "45px" }, 300);
});
$('.productbar .dropdown').on('hide.bs.dropdown', function (e) {
$(this).find('.dropdown-menu').first().stop(true, true).fadeOut(300);
$(this).find('.dropdown-menu').first().stop(true, true).animate({ top: "55px" }, 300);
$(this).find('.sub-menu').hide();
$(this).find('.left-caret').addClass("right-caret").removeClass("left-caret");
});
발사 버튼을 누르면, 업데이트 패널이 작동하고 메뉴 효과가 작동하지 않습니다!
해결책은 무엇입니까?
그래서 무엇이 문제입니까? 명확하게 언급하십시오. 불충분하고 불분명 한 데이터 : ( –
죄송합니다, 내 친구, 편집 됨 게시물 :) –