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.

Javascript Stack value display

"forwardDisplay" is textarea. Array items displayed in that textarea must be separated by break (create a comumn rather than row with commas). The code, however, still displays items in a row separated by commas. How can I fix this problem?

Are you trying to create a 'table' like display within the <textarea> element?
Rows and Columns of the elements of the 'forwardStack'? What are the contents of the stack? Numbers or strings or ???
Can you provide an example of what the display is to look like?

Array

Originally Posted by JMRKER

I'm a bit confused.

Are you trying to create a 'table' like display within the <textarea> element?
Rows and Columns of the elements of the 'forwardStack'? What are the contents of the stack? Numbers or strings or ???
Can you provide an example of what the display is to look like?

JMRKER, can I ask for your email so I can send you my code? The reason why I haven't put it here is because this is the project that has multiple people working on it. So I can't make my code to be seen here.
Actually the page has user input box where the user enters values (they might be letters, or numbers). After that the values get pushed to a stack and displayed in that textarea as outputs. But the problem is that they are displayed in one row like this: a,b,c,d,e.... What I need to do is to get them displayed in a column format without commas:
a
b
c
d
e