using "if"color change by using css in jquery code example Example: edit css jquery $('.ama').css('color','red');