簡體   English   中英

如何僅使用 Javascript 將表單輸入值存儲在 JSON 文件中?

[英]How to store Form Input Values in JSON File Using Only Javascript?

I want to store the form input values directly to the JSON File without using PHP, Angular Js, Node Js or NPM using JavaScript. 但我不知道該怎么做。 請幫幫我!!!

我認為您應該創建一個 json 文件,然后將該文件下載到您的系統。 看看這個鏈接:

https://stackoverflow.com/questions/34156282/how-do-i-save-json-to-local-text-file

JS 本身無權訪問文件系統

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM