简体   繁体   中英

Creating/Writing a text/xml file using javascript without using ActiveX

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编写本地文件。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM