我有一个有序列表,但我想在一个单独的span标签中手动编号而不是使用默认值list-style: decimal;
span
list-style: decimal;
<ol> <li><span>1</span> item 1</li> <li><span>2</span> item 2</li> </ol>
我怎样才能使用jQuery实现这一目标?
非常感谢!
jquery numbers html-lists
html-lists ×1
jquery ×1
numbers ×1