Toniiiio / trainder

0 stars 0 forks source link

Cant add input listener to added popup #1

Open Toniiiio opened 2 years ago

Toniiiio commented 2 years ago
    shinyjs::runjs('console.log(22);document.getElementById("custom_popup").addEventListener("input", function() {
        alert("input event fired");
    }, false);')

Need variable to access? https://stackoverflow.com/questions/28437227/javascript-add-event-listener-on-parent-popup-window

Toniiiio commented 2 years ago

skip insertui() and write it all in javascript + adding link above?