How can I get the src value of a picture when it is clicked | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I get the src value of a picture when it is clicked

How to write a function that will return the value of the src attribute of an image that has been clicked on and assign it as a value for an src atribute of an image on another page but when they use the same script

6th Sep 2021, 8:56 AM
Ahumuza Raymond
Ahumuza Raymond - avatar
1 Answer
6th Sep 2021, 9:08 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar