Trying to set this label to red
I've got the following class:
.redErrorText
{
color: #b11010;
}
The following label:
<label for="txtNumber" id="lblBlue">Number 1</label>
And then this code runs to try and set the label to red:
var blueLabel = "#lblBlue";
$(blueLabel).addClass("redErrorText");
I can't figure out what I could be doing wrong here, looks fine to me.