How to change an image with javscript?
Hi.
I need to display an image from an external url. For example, if I click on component 1, I get the image of component 1 and if I then click on component 2, it changes the source of the image and shows the image of component 2.
I'm fetching the info from a database and I can load all the texts without problem when I change the component, but I don't know what to do with the image.
Thank you very much in advance for the collaboration.
