Say I have an object in the browser DOM with class=“row” and id=“row22”.
I want to use Shiny.onInputChange() to detect a click on that object and send the id to a Shiny input$ variable. I’ve worn out Google looking for an example of how to do this but haven’t come up with anything. Could someone who knows how to do this provide some sample code?
Thanks. - Tom