Create and Write to Files with JavaScript/JQuery

后端 未结 3 713
自闭症患者
自闭症患者 2021-01-26 13:30

A few days ago I started to build a \"Talk To Us Page\" In c#.

So, I did a few buttons and text arena options..

And it was easy as C# should be. You just use a s

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-26 13:52

    and when you clicked of a button it will write it all down to a file in driver c, or anything like that.

    Forget about it. For security reasons javascript that runs in a browser has no access to client and server files. Just think of the consequences if this was possible. You visit some site on the internet and all of a sudden files start to popup up and out of existence from your hard drive. Definitely something that should be forbidden.

提交回复
热议问题