BookstoreWeb/Scripts/BookPurchase.js
// Prints the book content to the page.
Prints the book content to the page.
Prints the book content to the page .
function successGetBookContents(data) {
    document.getElementById("bookContent").style.visibility = "visible";
    document.getElementById("txtBookContent").innerText =
        data.body;
}
function successGetBookContents ( data ) { document . getElementById ( "bookContent" ) . style . visibility = "visible" ; document . getElementById ( "txtBookContent" ) . innerText = data . body ; }
Prints the book content to the page.
Prints the book content to the page .
//Render the contents in the placeholder