469,307 Members | 2,288 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

Text file Handling

Hi All,

Is there any way to open a text file and interpret the contents through java script?

Thanks
Deepak
Feb 14 '08 #1
4 1892
ronverdonk
4,258 Expert 4TB
Hi All,

Is there any way to open a text file and interpret the contents through java script?

Thanks
Deepak
Yes you could. But ONLY in Windows IE and ONLY using the ActiveXObject("Scripting.FileSystemObject"). See Programming the Microsoft FileSystemObject

Ronald
Feb 14 '08 #2
Thanks Dude!!! But i want the way to work in a server which i came to know its not possible.
Mar 25 '08 #3
mrhoo
428 256MB
If you mean a text file on the server, you can use the responseText from an XMLHTTPRequest. You have to get the text file on the server first.
Mar 25 '08 #4
ronverdonk
4,258 Expert 4TB
Thanks Dude!!! But i want the way to work in a server which i came to know its not possible.
This is the JavaScript forum. What made you think that you could do server programming in JavaScript? For that you need another forum, like PHP.

Ronald
Mar 26 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Hans-Joachim Widmaier | last post: by
2 posts views Thread by Perre Van Wilrijk | last post: by
16 posts views Thread by nephish | last post: by
4 posts views Thread by Tatu Portin | last post: by
9 posts views Thread by anachronic_individual | last post: by
29 posts views Thread by list | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.