Button remember click

[font=verdana, arial, helvetica][size=2]Hi everyone,

does anybody knows the code for a button that “remembers” if it has already been clicked or not. For instance, the button is blue, once its clicked it turns red and does go blue ever.

thanks[/size][/font]