I'm wondering if it's possible to change just a section of the a text input box's color. I am creating a comment widget want everything between the @ and the : to change to a different color:
<input type="text" placeholder="Want To Say Something?"
value="@user556: This is a test comment" ng-model="Comment" ng-click="getCurrentPosition()"
class="form-control ng-valid valid ng-dirty">
Is this possible to do with jQuery or javascript? Or do I have to convert the text input to a div?