Having some difficulty figuring out a solution to this issue. Attempting to modify certain CSS properties using jQuery. The problem arises when one div has an ID, changing the property there works as expected. However, the other div only possesses a class and the same command does not seem to have any effect. Any suggestions?
Below are both approaches - the first successfully changes the background-color, while the second fails:
$('#editor').css('background-color', '#222');
$('.divtag').css('color', '#222');