我有以下的HTML标记:
<DIV class="bubble bubble_white">
<DIV class=bubble_large></DIV>
</DIV>
<DIV class="bubble bubble_black">
<DIV class=bubble_large></DIV>
</DIV>
Run Code Online (Sandbox Code Playgroud)
我想选择课程bubble bubble_white和bubble bubble_black.我正在考虑下面的代码,但它不起作用:
$(".bubble.[class^=bubble_]")
关于如何做的任何想法?
jquery ×1