1521739014
This commit is contained in:
parent
6d74d518f1
commit
fdf26c19f0
3
app.js
3
app.js
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user