1521739014

This commit is contained in:
Arti Zirk 2018-03-22 19:16:54 +02:00
parent 6d74d518f1
commit fdf26c19f0

3
app.js
View File

@ -23,11 +23,10 @@ function addBook(event){
<td>${event.target.bookGenre.value}</td>
<td>${event.target.bookDesc.value}</td>
<td>
<button>Edit</button>
<button onclick="deleteBook(${bookId})">Edit</button>
<button>Delete</button>
</td>
</tr>
`
bookTable.innerHTML = bookTable.innerHTML + row;