How do you do jQuery's hasClass with plain ol' JavaScript? For example, <body class="foo thatClass bar">. What's the JavaScript way to ask ...
確定! 回上一頁