JavaScript和记事本 [英] JavaScript and Notepad

查看:96
本文介绍了JavaScript和记事本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用JavaScript创建了一个小程序,它创建了一些特定数据。

需要存储这些数据。将创建附加数据,需要使用先前的重复数据进行检查。然后,需要将新数据添加到先前存储的数据中。可能是稍后我不需要保存某些部分数据,我应该可以删除。



我想用记事本进行数据存储那个时刻。



这个节目是关于音乐的,所以我可以有一百万左右。

解决方案

< blockquote>请参阅我对该问题的评论。这没有任何意义。对于浏览器的JavaScript:用于存储会话中的数据或本地会话之间,您可以使用 Web存储。请参阅:

http://en.wikipedia.org/wiki/Web_storage [< a href =http://en.wikipedia.org/wiki/Web_storagetarget =_ blanktitle =New Window> ^ ],

https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API [< a href =https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API\"target =_ blanktitle =New Window> ^ ]。



-SA


I have created a small programme with JavaScript, which creates some specific data.
This data need to be stored. Additional data would be created which needs to be checked with the earlier data for duplicates. Then the new data needs to be added to the previously stored data. May be later on I don't need certain portions of the data saved, which I should be able to delete.

I would like to use notepad for data storage for the moment.

This programme is concerning music and so I could have a million digits or so.

解决方案

Please see my comment to the question. It really makes no sense. In case of browsers' JavaScript: for storing data withing the session or between session locally, you can use Web storage. Please see:
http://en.wikipedia.org/wiki/Web_storage[^],
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API[^].

—SA


这篇关于JavaScript和记事本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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