jQuery button with 3 possible values - multiple clicks

jQuery button with 3 possible values - multiple clicks

Hello,


I would like to create a button that can be clicked several times and whose value will change at each click.


1) Original stage : button with text "Maybe", button color = grey

-click-

2) button with text "Yes", button color = Green

-click-

3) button with text "No", button color = Red

-click-

4) back to Original stage : button with text "Maybe", button color = grey

etc...


How to do this?


Thanks