My CSS style looks like this:
button.gradient {
background: -moz-linear-gradient(top, #00ff00 0%, #009900 50%, #00dd00);
background: -webkit-gradient(linear, left top, left bottom, from(#00ff00), color-stop(0.50, #009900), to(#00dd00) );
}
This is a green button with a gradient background color. How can I change the background color from green to blue using JavaScript while still maintaining the gradient effect?