【问题标题】:to display selected images to another page将所选图像显示到另一页
【发布时间】:2020-12-31 04:41:13
【问题描述】:

please see this imageI have a grid images page and a button to finish and wanted to select some or all of them and when all or some are selected then the selected image should be display on another page.我该怎么做,请帮忙

see the second image also

【问题讨论】:

  • 请添加您的相关代码

标签: javascript html css web typescript


【解决方案1】:

实际上你有两个选择:

  1. 您可以在每次选择时将所选图像保存在服务器上
  2. 您可以使用客户端的本地存储来保留您的图像选择。

如果您想知道如何执行第二个选项,请访问: https://www.w3schools.com/html/html5_webstorage.asp

那里解释得很好

【讨论】:

  • 你好,请看图片并帮助我如何制作它
  • 嗨,我已经用一个链接编辑了我的答案,以提供信息,您实际上可以如何使用本地存储。
  • 请告诉我第一个选项
  • 我有一个服务器来保存它们,用户选择多个图像,然后单击“单击完成”,然后将图像保存到另一个页面。我该怎么做呢
  • 你看到图片了吗
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-03-10
  • 1970-01-01
  • 2021-01-25
  • 2022-12-04
  • 1970-01-01
  • 2013-02-22
相关资源
最近更新 更多