我有dot
類有HTML代碼這樣的:jQuery的:添加一行到每個班級
<span class="dot">Text1</span>
<span class="dot">Text2</span>
<span class="dot">Text3</span>
我想要添加到誰自動擁有類dot
其他文本的每個元素。例如,添加•
代碼,這將是
<span class="dot">• Text1</span>
<span class="dot">• Text2</span>
<span class="dot">• Text3</span>
我想象它應該使用jQuery來完成,因此任何幫助嗎?
謝謝。
如果它可以用CSS來完成,我不會使用jQuery。 – user113716 2010-09-24 16:01:58