我有一個表格SelectIamge.php
包括以下HTML:如何選擇圖像並將圖像鏈接放入文本框?
<input type="text" id="urlImage" />
<input type="button" id="selectImage" />
用戶需要能夠點擊selectImage按鈕打開頁面UploadImage.php的彈出窗口。然後用戶將上傳圖像,並顯示該圖像的縮略圖。如果用戶點擊縮略圖,我需要將圖像的url放在urlImage文本框中。
有人可以幫我解決這個問題嗎?
在下面寫的javascript:你可以使用JavaScript或jQuery的。 – sephoy08