if($(this).css(\"background-color\")==Crimson)
is this correct ? .css(\"background-color\",\"white\") will change the color, but I don\'t want t
Use quotes "" or '':
""
''
if($(this).css("background-color")=="Crimson")