1521739833
This commit is contained in:
parent
e0b2370cef
commit
b7c44f9c71
6
app.js
6
app.js
|
@ -28,9 +28,9 @@ function addBook(event){
|
|||
let row = `
|
||||
<tr id="bookRow${bookId}">
|
||||
<td>${bookId + 1}</td>
|
||||
<td>${}</td>
|
||||
<td>${}</td>
|
||||
<td>${}</td>
|
||||
<td>${book.title}</td>
|
||||
<td>${book.genre}</td>
|
||||
<td>${book.desc}</td>
|
||||
<td>
|
||||
<button onclick="editBook(${bookId})">Edit</button>
|
||||
<button onclick="deleteBook(${bookId})">Delete</button>
|
||||
|
|
Loading…
Reference in New Issue