Type: Posts; User: Alienn
Its working! Thank you so much for your time and help! I finally understand what was wrong with my code ;D
Sorry I still dont see a edit button under my post (bug maybe?)
I adjust my code in this:
var productList = document.createElement("td");
I chanced the button code as you said. Its now removing only the delete button, but not the product and price.
Do I need to add something to this elements to?
Sry dont know how to edit:
Forgot this code:
var button = document.createElement("td");
var tr = document.createElement("tr");
This is the code to create the elements into the table:
var td = document.createElement("td");
td.innerHTML = boodschappenItem