Is it possible to dynamically change the content of an Image component on an AEM Form.
For example if I have an image component set to “/content/dam/Banner 1.png” and I want to dynamically change it to “/content/dam/Banner 2.png”.
Assign a CSS class to the image . The using jquery set its attr to the new location of the file
How do I use jquery to set its attr to the new location of the file?
I have set the CSS class to "image1" for example.
Thanks again for your help,