View Full Version : need some help with something simple

04-11-2011, 01:37 PM
hai, im new on this forum :)

Im making a website right now for my internship companie and I wanna make the website user-friendly.
I have readed that it was possible to link the text of a word.doc to a div so the owner only have to change the word.doc to put new content on the website.

I have tried some things but It didn't work like I wanted, can you guys help me out with this ? :)

04-11-2011, 02:34 PM
Why not a simple TXT document? handling MS Word's documents could be an IE only affair.

04-11-2011, 02:56 PM
right now im using a .txt file but it still doesn't work :s

could you give me the code? I know you have to link it to a div but everytime when I do that he opens it in a another page and doesn't show me the text in the div :S

04-11-2011, 03:06 PM
So: you need, let's say, to fill a DIV with the text content from txt file?

04-12-2011, 09:21 AM
yup, so the people only have to change the text in the txt file to change it on the website.

04-12-2011, 10:10 AM
You may use AJAX (http://www.w3schools.com/ajax/default.asp)

04-12-2011, 10:15 AM
okey then im gonna try it with ajax, thx for the help