I'm working with an element that has the following CSS properties:
border: 20px solid;
border-color:#4ea88e;
border-right-width: 10px;
border-left-color: transparent;
I need to change the border-color using JavaScript without affecting the border-left-color. Is there a way to do this without resorting to hacks? If I try the following:
$("#myElement").css('border-color','#ffffff')
It ends up changing both the border-color and the border-left-color.