I am using the following:
var panelTitleElement2 = $('div.panel-default div.panel-heading');
panelTitleElement2[thisIndex].css("background-color", "rgb(153,0,0)");
I am getting following error:
Object doesn't support property or method 'css'
panelTitleElement2 has 4 divs that fit the description above. I want to only change the background color for a specific div not all of them. Thank you in advance.