I want to change the color of my background on a textbox when the user typers stuff. For example I have two textboxes password and confirm password. On the second one if the passwords match i'm going to make the back color white if not red.

I can do this on WinForms easy as, same code on Web Forms and nothing happens

How do i do this???