I'm looking to set the background-image of a div using a linear gradient which uses a number variable.
I'm not sure how to set the jQuery to split the SetAttribute and add in the variable.
anAmazingSlider.setAttribute("style", "background-image: linear-gradient(to right, #e6e6e6, #e6e6e6 50%, #E74C3C 50%)");
I have a limit variable and need to set the the background % to that limit.