I have a div with dynamic content coming from database. This div is repeat region showing about 15 records from database. This div is having a class "cslide" already assigned.
Now, I have 7 css classes namely colour1, colour2, colour3... colour7. I want to apply this classes one by one to the repeated divs in sequence like: first div will have colour1, second div will have colour2 and so on.
Can this be done using jQuery or Javascript?