js中修改class的字的颜色?
用js方法来实现,代码为:
document.getElementById("t").style.color="red"
; 说明:上面的"t"可以根据自己需要修改,具体代码参考: