Can anyone guide me to create/write a text/xml file using the javascript coding but without making use of the ActicveX controls.
The purpose of overriding the ActiveX is, i want to run the html page on Chrome only.
您不能使用客户端JavaScript编写本地文件。
HTML5 File API: http://www.html5rocks.com/en/tutorials/file/filesystem/
BlobBuilder API: http://updates.html5rocks.com/2011/08/Saving-generated-files-on-the-client-side
you can't do that. JavaScript is not allowed to access the client's file system (ActiveX being the exception, obviously)
besides that, fopen(), fread() & fclose() are typical PHP functions (not sure about ActiveX, but it doesn't seems like they belong there, too)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.