P
parveen
Can We read client side files using javascript? not only text files
parveen said:Can We read client side files using javascript? not only text files
Thomas said:Yes, with XHR, but only from a file: URI to a file: URI, or with a
privileged script. In MSIE 7+ you are required to use the ActiveXObject
object instead of XMLHttpRequest for that.
You can with XMLHttpRequest, Pointed. It doesn't really care what typeThomas said:Yes, with XHR, but only from a file: URI to a file: URI, or with a
privileged script. In MSIE 7+ you are required to use the ActiveXObject
object instead of XMLHttpRequest for that.
The said:You can with XMLHttpRequest, Pointed. It doesn't really care what type
the files are as long as they are text-content (not binary).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.