我有一个表格SelectIamge.php
包括以下HTML:如何选择图像并将图像链接放入文本框?
<input type="text" id="urlImage" />
<input type="button" id="selectImage" />
用户需要能够点击selectImage按钮打开页面UploadImage.php的弹出窗口。然后用户将上传图像,并显示该图像的缩略图。如果用户点击缩略图,我需要将图像的url放在urlImage文本框中。
有人可以帮我解决这个问题吗?
在下面写的javascript:你可以使用JavaScript或jQuery的。 – sephoy08