首页 > js怎么设置stroke标签的样式!

js怎么设置stroke标签的样式!

html代码:

[<v:PolyLine filled="true" fillcolor="#999" Points="0,0 20,-20 80,-20 100,-10 80,0 20,0 20,20 0,0"
style="position:relative" strokecolor="#999">
<v:stroke linestyle="single" />
你好
</v:PolyLine>]

效果图:

需求:
点击a标签动态去改变stoke标签的样式,选中a修改stoke的fillcolor值为#999

问题:
用原生Dom的方式实现,选择器怎么写才对?
用jquery的方式实现,选择器该怎么写?

【热门文章】
【热门文章】