js 實現addClass,removeClass,hasClass function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'
確定! 回上一頁