I haven't found a good example of this, I have this CSS snippet.
#divname .jqplot-point-label {
color: #000000;
}
I know how to change CSS if it's just the ID, or just the class, but in this case I'm not sure what the JavaScript would look like.
I'm trying
$('#divname .jqplot-point-label').css({'color':'#000000'});
But that didn't work.
Thanks!
alert($('#divname .jqplot-point-label').length)
in firebug or chrome console (whichever u r using). If the returned value is 0 then either path given is wrong or you are running this code before the element(s) getting added to the DOM