I am not really familiar with jQuery. I have this code that I downloaded to create a fade in/fade out popup form. Here\'s the code:
You can use css class name instead of id to achieve it like below
id
and your html of the buttons
Button1 Button2 Button3