samedi 2 novembre 2019

How does server know which button was clicked

I’m having a problem I have a website that needs the function for users to accept the content or not. I have the datas in the Database (id, value, status) and I show them on a page. I use table - each row in the Database is one row on the table. At every row, I want to insert two buttons - Accept and Not Accept. The thing is how should I code for the server to recognize which button was clicked?! I use the Ajax to handle functions. Thanks very much if you guys help me!




Aucun commentaire:

Enregistrer un commentaire