How to pass linear-gradient property through CSS

How to pass linear-gradient property through CSS

Please find my below code where i am passing the linear-gradient values through CSS in JQuery, i am able to see the colors in chrome and Firefox, but not in IE.

I wanted this to work from IE8.

$('.leftIpList:eq(' + i + ')').css({ 'background-image': '-ms-linear-gradient(90deg, ' + imgColours[i] + ', ' + imgColoursg[i] + ')' });
           $('.leftIpList:eq(' + i + ')').css({ 'background-image': '-webkit-linear-gradient(90deg, ' + imgColours[i] + ', ' + imgColoursg[i] + ')' });
           $('.leftIpList:eq(' + i + ')').css({ 'background-image': 'linear-gradient(0deg, ' + imgColours[i] + ', ' + imgColoursg[i] + ')' });

Please help me in this concern

Thanks in Advance,
Ravi