+ 1

My field src is not display in browser. I use function setLink. And event listener. Thanks you sir.

field src https is not display. https://code.sololearn.com/W2C6Ahv48sAg/?ref=app

29th Jul 2021, 5:29 AM
Malick Diagne
Malick Diagne - avatar
1 Antwort
+ 2
Use: HTML: --------------------------------------------------- <input id='textbox1'> <img id='img1' src="https://mimo.app/i/clock-tower-night.png"> --------------------------------------------------- Javascript Onclick(): --------------------------------------------------- document.getElementById('img1').src=document.getElementById('textbox1').text --------------------------------------------------- Hope It Helped You :)
2nd Aug 2021, 4:58 AM
Sancho Godinho
Sancho Godinho - avatar