jQuery隐藏按钮 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery隐藏按钮</title> <script type="text/javascript" src="jQuery/jquery-1.6.2.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $(document.getElementById("fisrt")).click(function() { $(document.getElementById("fisrt")).hide(); }); $(document.getElementById("second")).click(function() { $(document.getElementById("second")).hide(); } ); }); </script> <link rel="sheetstyle" type="text/css" href="" /> </head> <body> <button type="button" id="fisrt">我消失!</button> <button id="second">我隐藏!</button> </body> </html>
jQuery隐藏按钮
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
jQuery & CSS 制作金属质感的选择按钮CSS3 按钮 选择框 开关 jquery
-
jquery设置按钮值 jquery按钮样式
jquery设置按钮值 jquery按钮样式
jquery mobile ico 圆角