select function make the selected element background is blue,and others are white