Equivalent for ActiveXObject("Adodb.Stream")

Posted by Selvam543 under JavaScript on 6/6/2012 | Points: 10 | Views : 2428 | Status : [Member] | Replies : 1
Is there any Equivalent for ActiveXObject("Adodb.Stream")

or

How to Get file content as Binary in Javascript

Selvam


Responses

Posted by: Ajay.Kalol on: 6/6/2012 [Member] Starter | Points: 25

Up
0
Down
Use XMLHTTPRequest for it.

Here Is Example to read the file in JavaScript:

http://ajaypatelfromsanthal.blogspot.in/2012/05/read-text-file-from-javascript.html

Tested in IE7 & + , Mozilla, Chrome. it works fine.

Ajay
ajaypatelfromsanthal.blogspot.in

Selvam543, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response