x103/L2_1.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> td{ border: 1px solid black; } .verwijder{ color: blue; text-decoration: underline; cursor: pointer; } </style> </head> <body> <script src="ajax.js"></script> <table id="table"> </table> <script> ajax("L2_2.php", "table") function verwijder(id){ ajax("L2_2.php?boeknr=" + id, "table") } </script> </body> </html>

Resultaat

Made by Thijs Aarnoudse