Solved

can text files be loaded in to textboxes?

Posted on 1998-11-28
9
168 Views
Last Modified: 2010-04-09
how do you load a text file in to a textbox, by clicking a link or button?
0
Comment
Question by:_nin_
  • 5
  • 2
  • 2
9 Comments
 
LVL 4

Accepted Solution

by:
chewymon earned 30 total points
ID: 1840075
The easiest way is to copy the text file and paste it in.
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840076
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
 

Author Comment

by:_nin_
ID: 1840077
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:_nin_
ID: 1840078
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
 
LVL 4

Expert Comment

by:martinag
ID: 1840079
Is it ok if the page is reloaded?
Otherwise, as you say, the file will be really big.

Martin
0
 

Author Comment

by:_nin_
ID: 1840080
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
 

Author Comment

by:_nin_
ID: 1840081
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
 
LVL 4

Expert Comment

by:chewymon
ID: 1840082
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
 

Author Comment

by:_nin_
ID: 1840083
sorry, i accidently accepted the answer, i'm new to this, so i don't much about it

i reposted the question
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now