i'm trying to figure out how to make a web application with Ajax.

It allows users to log in and select any available seats and buy it.

The seats on the screen will update itself when it was sold.

Just wonder how can i do that?

I need a guideline how to approach it with the enhance of Ajax