CHANGE STATUS OF BUTTON WITH CLICK

CHANGE STATUS OF BUTTON WITH CLICK

My problem is that: i have two buttons

     button1,  button2

I must see only one,when i click button1, i want to see button2 at the same place and when i click button2 i want to see button1. 
How can i do that in jquery?