I want there to be a textbox on my screen(like the one i\'m typing in now) that you can type in then click a submit button and it sends whatever you typed in the box to javascri
Late reading this, but.. The way I read your question, you only need to change two lines of code:
Accept user input, function writes back on screen.
give me input Submit