比如 <div class="home current">home</div> 這個 div 的class 里兩個值一個是 home 一個是 current,現在我想要 jquery 只獲取其中的一個,通過某種方法只返回 home 或是 class,如何實現?
jquery 獲取 html 標簽的 class 值?
12345678_0001
2018-09-11 09:06:00