https://blog.csdn.net/csdnluolei/article/details/84771715
-
$("#btn").attr("style", "display:none;"); //隐藏
-
$("#btn").attr("style", "display:block;"); //显示
-
$("#btn").hide(); //隐藏
-
$("#btn").show(); //显示
https://blog.csdn.net/csdnluolei/article/details/84771715
$("#btn").attr("style", "display:none;"); //隐藏
$("#btn").attr("style", "display:block;"); //显示
$("#btn").hide(); //隐藏
$("#btn").show(); //显示