在JS中编辑服务器端文件
我正在制作一些脚本供个人使用.现在,我倾向于将CD收藏夹列表保存在具有一些时尚外观的html文件中,但是我厌倦了用手工"编辑列表,这意味着我不想在每次添加新CD时都编辑代码.因此,有没有一种方法可以使用JS或JQuery,以便可以从本地文件添加/读取(此脚本不是远程的,它是本地的(尽管我可能会尝试将其远程托管).
i am making some script for some personal use. Now i tend to keep my CD collection list in a html file which has some sleek design, but i am tired of editing the list by "hand" and that means that i don't want to edit the code everytime i add new CD. So is there a way that i can use JS or JQuery so i could add/read from a local file(this script is not remote it is local(although i might try to host it remote).
除了HTML,CSS和JS/JQuery,我不想使用任何其他语言.
I don't want to use any other language than HTML, CSS and JS/JQuery.
是否可以添加一个链接,当我单击计算机上的某些应用程序时,该链接会启动.
Is it possible to add a link that when i click some application on my computer would launch.
如果只想使用HTML和javascript,则不行.您将需要某种服务器端脚本才能写入文件.
Not if you only want to use HTML and javascript. You will need a server side script of some kind to write to a file.
这些评论让我开始思考,我知道这并不是您真正要问的,但是您可以使用 node.js
The comments got me thinking, I know this is not really what you were asking but you could play around with server side javascript with node.js