I would like to experimenting with onfocus event on page: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onfocus
I use Chrome developer console (Ctrl+Shift+I). When I try to access the input element by typing in the console:
document.getElementsByTagName("input")
I get two hidden input elements instead of the text input element. Screenshot image: https://i.stack.imgur.com/hOX97.png So What's going on here, and how can access those elements on the "tryout" pages?