how to display the user's comment in the text as a html using javascript

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

how to display the user's comment in the text as a html using javascript

I am trying to create a comment page that displays a text box for the user to enter their comment and display it at a html paragraph. I have this part created but the issue I am having is that I'm trying have the first user's comment displayed as a paragraph and then the next user's comment to display below it. So essential, I looking to create multiple paragraph based on the user's comments in the text box. I can't use document.write because the paragraph is create in a separate page and I want everything displayed in one page. This is what I have so far. I can only use regular js, no jquery please