你如何阅读,编写和创建“.txt”使用Javascript的文件? [英] How can you read, write, and create ".txt" files using Javascript?

查看:102
本文介绍了你如何阅读,编写和创建“.txt”使用Javascript的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个网站,对 JavaScript(JS)有一个非常基本的理解,但对 HTML CSS 有很好的理解。我想要有一个网站的管理员部分,你可以编辑网站的内容。我也需要关于如何使用JS将这些文本文件显示到网站上的帮助。

你不能。为此,您需要后端服务器软件,例如PHP。

I am writing a website and I have a very basic understanding of JavaScript (JS) but a good understanding of HTML and CSS. I want to have an admin part of the website were you can edit the content of the site. I also need help on how to display these text files onto the website using JS. Thank you for your help.

解决方案

No. You can't. For this you will need backend server software, like PHP.

这篇关于你如何阅读,编写和创建“.txt”使用Javascript的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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