Hi,

I'm new to Javascript, although not new to programming, and have taken over maintaining a website for a small charity.

I'm trying to make their "news page" easier to maintain, by allowing them to add, and remove, news items to a text file, and uploading file to the server and then get Javascript to read in, and display the text blocks in a DIV using CSS to format it for display. Currently every time there is an update the HTML page has to be updated.

I have managed to do it for individual sentences by loading each sentence into an array and displaying each array element. However some of the news items might be a couple of paragraphs long. I have tried using a marker (pipe character) to demark each text block, but have not worked out how to acheive it.

Can anyone point me in the right direction for acheiving this using Javascript.?

Many thanks