Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to read txt file using java script

how to read txt file using java script

Scheduled Pinned Locked Moved ASP.NET
javatoolstutorial
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jagadeeshkumar1984
    wrote on last edited by
    #1

    i want the txt file content to be print using java script will u plz tell the way how it possible

    C S A 3 Replies Last reply
    0
    • J jagadeeshkumar1984

      i want the txt file content to be print using java script will u plz tell the way how it possible

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can't read a local file on the client machine using javascript. That would be insecure.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • J jagadeeshkumar1984

        i want the txt file content to be print using java script will u plz tell the way how it possible

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Try to use google take a look at this url its so simple instead of typing a question in the forum http://www.google.co.in/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=Javascript+reading+text+file&spell=1[^]

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        A 1 Reply Last reply
        0
        • S Sandeep Akhare

          Try to use google take a look at this url its so simple instead of typing a question in the forum http://www.google.co.in/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=Javascript+reading+text+file&spell=1[^]

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          A Offline
          A Offline
          Arif patel
          wrote on last edited by
          #4

          Hi Dude, here is u r solution.... wwww.javascripter.com/faq/file reading source code is avaliable with example just go through it... Regards, Syed Arif patel.

          S 1 Reply Last reply
          0
          • A Arif patel

            Hi Dude, here is u r solution.... wwww.javascripter.com/faq/file reading source code is avaliable with example just go through it... Regards, Syed Arif patel.

            S Offline
            S Offline
            Sandeep Akhare
            wrote on last edited by
            #5

            Hey Buddy Its not me in need you replied to wrong person ;)

            Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

            1 Reply Last reply
            0
            • J jagadeeshkumar1984

              i want the txt file content to be print using java script will u plz tell the way how it possible

              A Offline
              A Offline
              Arif patel
              wrote on last edited by
              #6

              Hi Dude, here is u r solution.... wwww.javascripter.com/faq/file reading source code is avaliable with example just go through it... Regards, Syed Arif patel.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups