I am trying to get user text input using HTML text input type and onkeypress event. I tested my program on raw HTML, and it seems to be working. However, when I load it as a