How can I turn the URL link from textarea to do image in <div>
?
Example:
<textarea id="sample">https://tvorbawebu.net/eshopserver/uploads/thumbnail/Pentair-Led-Pool-Lights.jpg</textarea>
<div class="viewimage"><img alt="" src="URLfromtextarea"></div>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…