-1

how to read a text file using javascript without using activeX?

If there is no solution, then suggest some other solution to read file..

Nadhas
  • 5,421
  • 2
  • 28
  • 42
  • 3
    If you're looking to read local file on the users computer there is no other way than having the user upload the file if you don't want to use activex or java applet. – Asken Nov 05 '11 at 13:16
  • ...just because there is no way to do it doesn't mean this question is bad. Obviously it was clear enough to answer. – Kirk Woll Nov 05 '11 at 13:57
  • This helps? https://developer.mozilla.org/en/Using_files_from_web_applications – Prusse Nov 05 '11 at 16:40
  • 1
    we can do that using HTML5 fileAPI - FileReader.ReadAsText – Nadhas Nov 06 '11 at 10:07

1 Answers1

0

we can do that using HTML5 fileAPI - FileReader.ReadAsText

HTML5 File API read as text and binary

Community
  • 1
  • 1
Nadhas
  • 5,421
  • 2
  • 28
  • 42