我可以用JavaScript写文件吗? [英] Can I write to file in JavaScript?

查看:101
本文介绍了我可以用JavaScript写文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,现在您可以使用LocaWapp(和异步Ajax):
http ://daviderognoni.blogspot.com/?locawapp

[JavaScript]


jsFileWrite(" testJsFile.txt"," This是一个测试。);


alert(jsFileRead(" testJsFile.txt"));

Yes, now you can with LocaWapp (and async Ajax):
http://daviderognoni.blogspot.com/?locawapp
[JavaScript]

jsFileWrite("testJsFile.txt","This is a test.");

alert(jsFileRead("testJsFile.txt"));

推荐答案

星期五,2006年6月16日14:16:07 -0700 ,.写道:
On Fri, 16 Jun 2006 14:16:07 -0700, . wrote:
是的,现在你可以使用LocaWapp(和async Ajax):
http://daviderognoni.blogspot.com/?locawapp
Yes, now you can with LocaWapp (and async Ajax):
http://daviderognoni.blogspot.com/?locawapp




哪个不是javascript ..所以,不,你不能。


-

美国爱国者法案是美国历史上最不爱国的行为。
Feingold-Obama''08 - 因为宪法不是历史,

这是法律。



Which isn''t javascript... so, therefore no, you can''t.

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama ''08 - Because the Constitution isn''t history,
It''s the law.


你好,


Ivan Marsh写道:
Hi,

Ivan Marsh wrote:
2006年6月16日星期五14:16:07 -0700 ,.写道:

On Fri, 16 Jun 2006 14:16:07 -0700, . wrote:

是的,现在你可以使用LocaWapp(和async Ajax):
http://daviderognoni.blogspot.com/?locawapp
Yes, now you can with LocaWapp (and async Ajax):
http://daviderognoni.blogspot.com/?locawapp



哪个不是javascript ..所以,不,你不能。


Which isn''t javascript... so, therefore no, you can''t.




实际上,有了适当的权限,你可以。我可以为Netscape 4. *,Mozilla(Netscape 6,7,Firefox)和IE发布代码

。如果需要的话。


HTH,

Laurent

-

Laurent Bugnion,GalaSoft

软件工程: http://www.galasoft-LB.ch

私人/马来西亚: http://mypage.bluewin.ch/lbugnion

支持加尔各答的儿童: http://www.calcutta-espoir.ch



Actually, with appropriate permissions, you can. I can publish the code
for Netscape 4.*, Mozilla (Netscape 6, 7, Firefox) and for IE if needed.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch


Laurent Bugnion在6/16/2006 6:00 PM说了以下内容:
Laurent Bugnion said the following on 6/16/2006 6:00 PM:


Ivan Marsh写道:
Hi,

Ivan Marsh wrote:
2006年6月16日星期五14:16:07 -0700 ,.写道:

On Fri, 16 Jun 2006 14:16:07 -0700, . wrote:

是的,现在你可以使用LocaWapp(和async Ajax):
http://daviderognoni.blogspot.com/?locawapp
Yes, now you can with LocaWapp (and async Ajax):
http://daviderognoni.blogspot.com/?locawapp



哪个不是javascript ..所以,不,你不能。


Which isn''t javascript... so, therefore no, you can''t.



实际上,有了适当的权限,你就可以。我可以为Netscape 4. *,Mozilla(Netscape 6,7,Firefox)和IE浏览器发布代码。如果需要的话。



Actually, with appropriate permissions, you can. I can publish the code
for Netscape 4.*, Mozilla (Netscape 6, 7, Firefox) and for IE if needed.




你的代码也是尝试从互联网页面写入

文件系统来记录陷阱?


-

Randy
comp.lang.javascript常见问题 - http://jibbering.com/faq&新闻组每周

Javascript最佳实践 - http://www.JavascriptToolbox .com / bestpractices /



Does your code also document the pitfalls with trying to write to the
File System from an Internet page?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


这篇关于我可以用JavaScript写文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆