已解决,楼主早上没睡醒~
//html
//js
$('#edu').live('click', function(e) {
$(this).Singleoption({
data: ["一年", "两年", "三年", "四年", "五年", "六年", "七年", "七年以上", "其他"],
direction:"bottom"
});
$(document).one("click", function() {
$(".re_Popup").remove();
});
// e.preventDefault();
此处应该是
e.stopPropagation(); //阻止事件冒泡
});
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
作为一个程序员,认真一点好不好,preventDefault阻止默认行为,stopPropagation阻止事件冒泡
你那个阻止默认操作。。。stopPropagation.....