Local JavaScript - write to local file

前端 未结 3 464
遇见更好的自我
遇见更好的自我 2021-02-03 11:01

I have some JavaScript code loaded from a local HTML file (without going through a webserver).. i.e., opened using file://

Is there a way the JavaScript cod

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-03 11:21

    There's a jQuery plugin jQuery.twFile that allows you to read and write to a local file.

提交回复
热议问题