HTML 是这样的:
<span class="someClass position1" >span1</span>
<span class="someClass" >span2</span>
<span class="someClass" >span3</span>
<span class="someClass position2" >span4</span>
<span class="someClass" >span5</span>
<span class="someClass position4" >span6</span>
<span class="someClass position10" >span7</span>
<span class="someClass" >span8</span>
<span class="someClass position12" >span9</span>
现在,使用 jQuery,我将如何更改backgroundColor
只有那些具有类position
+ SomeINTEGER的元素?
我想选择poistion
+TheRespectiveInteger类的所有元素