Hi below text is a placeholder that is from js ,its color is #ccc
.I need the textarea color as black ,right now it is taking placeholder color .
<textarea id="txt1" class="txt1 required" name="comment1"></textarea><br>
var firstname = userModel.get('firstName');
$('textarea#txt1').val('Hey ' +firstname+',\nTell us what is on your mind').css('color','#ccc');
});
How to give different color for textarea and placehoder