mouseover/mouseout不起作用,但是点击input的话.downMore会出现,
还有一个问题如果把加一个disabled属性,他就不响应任何事件,不知该怎么破?
$(".checkEare input").on("mouseover",function(){
$(this).next("ul").show();
});
$(".checkEare input").on("mouseout",function(){
$(this).next("ul").hide();
});
- 省份一
- 省份一
- 省份一
- 省份一
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
disabled是不响应事件的,也不会发生冒泡。不过你可以试试readonly不过这个时候你可以用事件委托来解决
伪代码如下