can text files be loaded in to textboxes?

how do you load a text file in to a textbox, by clicking a link or button?
_nin_Asked:
Who is Participating?
 
chewymonCommented:
The easiest way is to copy the text file and paste it in.
0
 
martinagCommented:
chwymon, I think _nin_ want it to be inserted automatically, without having to open it in Notepad etc.

_nin_, Is the file at the users hard disk or at the server?

Martin
0
 
_nin_Author Commented:
i want links that when they are clicked by someone visiting the webpage, they automatically change the text in the textbox to the text in text files that i uploaded onto the server

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
_nin_Author Commented:
would it be easier to put text in the html, instead of using individual text files?

i'll have a lot of text, so if i put it all in the html, it'll be a really big file
0
 
martinagCommented:
Is it ok if the page is reloaded?
Otherwise, as you say, the file will be really big.

Martin
0
 
_nin_Author Commented:
the page can be reloaded, but i would like for it to reload it as little as possible, because its on tripod and tripod has those popup windows that load every time you reload the page
0
 
_nin_Author Commented:
my webpage displays tablature and lyrics, how my page is now i have links to the text files, so when the links are clicked, the text files are loaded as a webpage, i want to change it so that everything is on the same page, by displaying the text files in a textbox instead of on a different page

i would use frames to do it, but when a page is loaded, tripod loads a popup window
0
 
chewymonCommented:
You should reject my answer so others can answer.  You might post this in the JavaScript section.  It is probably possible with a onClick event handler.
0
 
_nin_Author Commented:
sorry, i accidently accepted the answer, i'm new to this, so i don't much about it

i reposted the question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.