Uncaught TypeError: Cannot set property 'innerHTML'

Point number 3 is fixed: **Uncaught TypeError: document.getElementById(…) is null using HTML element.

How to solve point number one?
Issue: jInvalidValueError: not an instance of HTMLInputElement