Selecting DOM elements with inAppBrowser - Cordova
问题 It seems I can't select DOM elements from a website I've loaded using the inAppBrowser plugin. When I log document.getElementById("input") it's null . The resources I've read on this have treated selecting elements as trivial, but I seem unable. Here's the code I'm using: var obj = { link: "https://www.foolink.com", input: "barInput", func: function(obj) { document.getElementById("input").value = obj.input; } } var ref = cordova.InAppBrowser.open(obj.link, "_blank"); ref.addEventListener(