For example: i have <div class="oneClass twoClass colorRed">Content</div> and i want to find the color* class and replace the color part "Red" with the new value "Blue" or "Yellow" for example so it would be "colorBlue" now...
How do i do that with Javascript only ?
Thanks!
Update: This isn't my question: Change an element's class with JavaScript
 
     
     
    