i want to design an application using javascript in which on button click event the color of div change and on the subsequent click the color of div should be different and here sholud be 10 colors in a collection
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rahul BansalPosted Feb 27, 2015, 4:09 AM
onclick="setColor();">
Click Me!