?
Solved

can text files be loaded in to textboxes?

Posted on 1998-11-28
9
Medium Priority
?
196 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

718 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