Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38562

Re: Hoe can i read..

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Hoe can i read..
Date Tue, 21 Jul 2020 06:59:24 +0200
Lines 22
Message-ID <hnnb1dFgrj7U1@mid.individual.net> (permalink)
References <ERpRG.61532$lI.1755@fx22.iad>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net A4es484N79jqf7dG5kFZUAVph12+fH/qL6IhrsmVfCbnd4Sh5n
Cancel-Lock sha1:VgL0ghiPi0LqxMago91lT5sRd1o=
In-Reply-To <ERpRG.61532$lI.1755@fx22.iad>
Xref csiph.com comp.lang.javascript:38562

Show key headers only | View raw


Robert Baer:

>    I have some stupid ideas to use javascrpt to (incrementally) read and 
> parse an array.
> 
>    The bad thing is that file is OUTSIDE any javascript function and i 
> see no way to do a generic? "capture"/read/access of data.

Define "outside".

Part of an HTML page? Then use the DOM.

Data which needs to be requested using HTTP? The use XHR.

External file? This may involve user interaction. For example see
<https://stackoverflow.com/questions/3582671/how-to-open-a-local-disk-file-with-javascript>



-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Hoe can i read.. Robert Baer <robertbaer@localnet.com> - 2020-07-20 16:33 -0700
  Re: Hoe can i read.. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-21 02:04 +0200
  Re: Hoe can i read.. "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-07-20 21:28 -0700
  Re: Hoe can i read.. Arno Welzel <usenet@arnowelzel.de> - 2020-07-21 06:59 +0200
  Re: Hoe can i read.. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-07-25 00:49 +0200
    Re: Hoe can i read.. "Mark-" <nospam@mapson.xyz> - 2020-07-26 14:42 +0000

csiph-web