Retrieving elements from an iFrame can be complicated process due to cross-browser incompatibility. While one method might work for a user accessing your site with Internet Explorer, it may not work ...
This obviously only applies to browsers who require the shadydom polyfill -- it occurs in both IE11 and Edge for me, or all browsers if you force the polyfill ON.
If you know HTML and JavaScript, you already know how to build interactive IoT systems. DOMIoT lets you use the DOM and web standards to control real-world devices. Go to the examples/ directory. Open ...