English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

except for me of course. all of the codes i've found have been text-boxes that you can delete and edit the textbox on the page. i just want it so that you can read it. i realize that if you refresh the page it resets with the original text, but i would really like the code that will make it read-only.

2007-06-17 07:41:11 · 4 answers · asked by comedychic 2 in Computers & Internet Programming & Design

4 answers



You can change the value by editing code .. Simply change the text where "sample" is written for time being

2007-06-18 00:21:23 · answer #1 · answered by vrushali k 3 · 0 0

If you use serverside scripting such as php then you can. Another way to include txt files is to call it using a javascript - like: Put this in the body of your html: Then create a new text file in the same folder as your html file called text.txt and put this in it: document.write('Your text file'); Open the html file in your browser and it should display the text "Your text file" (assuming you have javascript turned on). Make sure you don't delete the document.write(''); as it will make the script not work.

2016-05-17 23:26:25 · answer #2 · answered by ? 3 · 0 0

hmm, right, except probably do not want to use disabled, especially if the use will need to scroll the content of the container.


or


should handle it. Of course, you won't be able to edit the contents from your browser either, and will have to edit and reload the page to make changes.

2007-06-17 08:10:31 · answer #3 · answered by Anonymous · 0 0


...
or did you mean

2007-06-17 07:49:19 · answer #4 · answered by fjpoblam 7 · 2 0

fedest.com, questions and answers