Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can text files be loaded in to textboxes?

Posted on 1998-11-28
9
Medium Priority
?
200 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

782 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