Solved

can text files be loaded in to textboxes?

Posted on 1998-11-28
9
177 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 68
Why a span is lower 2 26
add image on html mail 6 27
multiple selects 23 49
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

828 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