How to use% of JavaScript for interlaced color change
This article introduces the knowledge of "how to use JavaScript% to do interlaced color change". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
As follows:
Untitled document li {list-style-type: none; width: 300px; height: 30px;} var oli=document.getElementsByTagName ('li'); for (var item0witi