<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="js/jquery.js"></script> <script> window.onload = function(){ document.getElementById('btnok').onclick = function(){ //1.顯示所有異常元素 //$('div:hidden').show(3000); //2.隱藏所有可見元素 $('div:visible').hide(3000); } } </script> </head> <body> <input type="button" id="btnok" value="匹配"> <hr> <div ></div> <div ></div> </body> </html>
文章標題:奪命雷公狗jquery---5可見選擇器
文章出自:http://muchs.cn/article2/ihsdic.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、動態(tài)網(wǎng)站、虛擬主機、服務器托管、商城網(wǎng)站、手機網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)