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 around the color name as:
if( $(this).css("background-color") == "Crimson" )
otherwise it is right.