$("button").click(function(event){
			  event.stopPropagation();   
			  if($("div").is(':hidden')){
			    $("div").show()
			  }else{
			    $("div").hide();
			  }
			})
		    $(document).bind("click",function(e){
			  $("div").hide()
			})

  

相关文章:

  • 2021-11-13
  • 2021-12-15
  • 2021-11-13
  • 2021-12-23
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-09-04
  • 2021-11-03
  • 2022-01-20
  • 2021-05-22
相关资源
相似解决方案