1521738863
This commit is contained in:
parent
ac7265c543
commit
6d74d518f1
2
app.js
2
app.js
@ -17,7 +17,7 @@ function addBook(event){
|
|||||||
console.log("Add Book", event.target.bookTitle.value);
|
console.log("Add Book", event.target.bookTitle.value);
|
||||||
let bookId = genBookId();
|
let bookId = genBookId();
|
||||||
let row = `
|
let row = `
|
||||||
<tr>
|
<tr id="bookRow${bookId}">
|
||||||
<td>${bookId + 1}</td>
|
<td>${bookId + 1}</td>
|
||||||
<td>${event.target.bookTitle.value}</td>
|
<td>${event.target.bookTitle.value}</td>
|
||||||
<td>${event.target.bookGenre.value}</td>
|
<td>${event.target.bookGenre.value}</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user