Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想做的是这个..我在HTML页面中有一个图像并使用一个按钮我想要这个保存按钮,你可以选择保存粘贴的位置,比如“将图像另存为”。
HTML
另外还打算创建一个简单的input会出现哪里保存图片的路径,让这个路径保存在数据库中。
input
这可能吗?欢迎任何帮助
由于安全原因,这可能是不可能的。javascript 的许多客户端/本地功能被禁用。就像读写本地文件系统一样。如果你想做这样的事情,你需要用服务器语言来做,比如 php(推荐)