I have a asp page that reads data from a text file and assigns the data to a textarea field on my form using the following command on the window load event:
thisform.textarea1.value = "<%=aTxtA(1)%>"
This code works fine, but the problem I'm having is that I cannot assign the newline. If the data contains 3 lines in the text file then I want to display in the textarea the 3 line exactly as they appear in the text file. I would greatly appreciate any help or advice. Thanks
thisform.textarea1.value = "<%=aTxtA(1)%>"
This code works fine, but the problem I'm having is that I cannot assign the newline. If the data contains 3 lines in the text file then I want to display in the textarea the 3 line exactly as they appear in the text file. I would greatly appreciate any help or advice. Thanks