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.

How to add characters of the word in specific order?

I am totally new in javascript and trying to make hangman game, I can take letters from users and check it perfectly .. but i have faced a problem in putting the letters (the right letters which the user choosing) in the right order like:
- i have a word table
- the user clicked on h and h is in the word chair
- the user clicked on r and r is in the word chair
- the user clicked on a and a is in the word chair
- the user clicked on i and i is in the word chair
- the user clicked on c and c is in the word chair
now the word has been written hraic