|
蓝森林 http://www.lslnet.com 2006年8月25日 8:28
JS如何控制文字颜色呢。
<div id=xx>aaa</div>
<script>
xx.style.fontcolor="red";
</script>
控制不了。 |
xx.style.color="red"; |
document.getElementById("xxx").innerHTML=document.getElementById("xxx").innerText.fontcolor="red" |
非常感谢。中。
有没这种参考手册呢。 |
|