gpt4 book ai didi

javascript - 浏览 html 中的图像

转载 作者:行者123 更新时间:2023-12-02 17:47:16 28 4
gpt4 key购买 nike

我正在制作一个 html 表单,它必须浏览文件夹中的图像,但我不知道如何做到这一点,我尝试的代码是

HTML

<tr>
<td>*PHOTO</td>
<td><img border="0" src="image.jpg" alt="NOT VALID" width="340" height="220">
</td>
</tr>

不知道如何使用浏览按钮并用Js为其编写脚本

最佳答案

关于javascript - 浏览 html 中的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21648924/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com