<script type="text/javascript">?? ?document.getElementById("nm").style.color="red";</script></head><body><p id="nm">Hello world!</p>為什么顏色不變化
javascript里怎么通過(guò)getElementById()方法修改某個(gè)標(biāo)簽的style屬性啊
仲鳴
2016-05-13 22:21:24