Change CSS Link Property onClick with Javascript/JQuery?

后端 未结 7 2075
长情又很酷
长情又很酷 2021-01-01 04:34

So for example i have two links:

Link 1
Link 2
<
相关标签:
7条回答
  • 2021-01-01 05:14

    giving the elements css classes would be a better option. You could do it by using the className property on the object. in doCOlorChange you could write this.className ="newclassName";

    0 讨论(0)
提交回复
热议问题