Hi Guys,
I have 5 text boxes.
1 through to 4 are filled in by the user.
I would like the 5th textbox to list ALL the data together..
IE:
text1.value="This"
text2.value="is"
text3.value="a"
text4.value="test".
Then id like a javacript function that gets the values from textboxes 1 to 4 and put them together to print out
This is a test.
IN the textbox5.
How can i achieve this?
I would assume i need to
document.elementbyid for each box.
Then somehow add the data together and put that value in text5..
But my JS is rubbish
Any help would be great.
Thanks
G
|