0

How to load an image in javascript

2nd Aug 2022, 8:04 PM
CerealAgenda
CerealAgenda - avatar
3 Antworten
+ 4
You can store path to image inside variable and assign it to src of img tag. If this is what you try to do
2nd Aug 2022, 8:43 PM
PanicS
PanicS - avatar
+ 1
var img= new Image();
2nd Aug 2022, 9:11 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar