Topic awaiting preservation: Read txt/ascii with JScript? |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Northumberland, England |
posted 02-03-2004 18:19
Hi guys, |
Bipolar (III) Inmate From: Brisbane |
posted 02-03-2004 20:12
AFAIK, there is no way you can read data from a file with Javascript unless you load a text file into an iframe then use innerHTML() to get at it. |
Paranoid (IV) Inmate From: Northumberland, England |
posted 02-03-2004 23:51
Not with javascript - I know there is no way with javascript. |
Bipolar (III) Inmate From: schillmania.com |
posted 02-04-2004 05:35
You may be able to load and parse it using an xmlHTTP object (via the .innerHTML property perhaps.) |
Bipolar (III) Inmate From: övik |
posted 02-04-2004 16:50
You can infact read data from a textfile using jscript, if that file is a js-file. |
Nervous Wreck (II) Inmate From: Utreg, NL |
posted 02-04-2004 20:31
You can use a built in IE behavior, the "download" behavior. For instance, try this: code: var sheet, links = document.getElementsByTagName('link');
|
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 02-08-2004 14:18
Cameron, how do you do that. Do you simply make an Iframe, and then do |