how can you make a processing jquery button, like the follow button on twitter?

for example the twitter follow button when pressed it sends an ajax call through php script and then displays unfollow:how could that be acheived using jquery and css?
 
Back
Top