Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to populate a textbox with a text from a txt file located in a local drive

Status
Not open for further replies.

jnvu16

Technical User
Jun 26, 2012
3
PH
I have a textbox wherein whenever the user goes to my website, the textbox will be populated by the txt file that I would put in a specific drive in the user's computer. For example let's say that this is the address "F:\sample.txt". How do I do this? And by the way, I want to use javascript on this one since I want this to be on the client side.
 
I want to use javascript on this one since I want this to be on the client side.

Simple answer is: You can't.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
We've been through this in your other post.

JavaScript is a no go for this. However a trusted Activex control or VBscript would get this done, albeit in IE only if the security settings for IE can be set to trust the script.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top