I'm writing a script with jQuery to replace TOC elements inside my Tripane skin.
As for now, I want to highlight selected elements to find out if I choose them right.
The script is as follows:
Code: Select all
$(function(){
$(".tree").css("background-color", "rgba(168,166,50,0.5)");
});
Do you have any idea why I cannot select and perform operations on these list elements?
Or, maybe, there is a method to do it in any other way?
I would be very grateful for some help and any hint:)