Example 1 – reading and writing the DOM

In this example, we're going to find out something about the state of the application from the DOM, grab it with JavaScript, and write it back to the DOM. We'll look at ui.R to put together the page and then look at the JavaScript. The server.R file is unchanged, so we will not discuss it here.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.58.155