Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Component refresh on a ajax call

Avatar

Level 2

We have a custom component that reads the data from the JCR. User if logged on to CQ can then add/remove items from that component. Just think of it in terms of imageText component and user if logged on can add multiple images. Once they add images we have to show them on the page without having to refresh the page but only the component that is doing it?

How can we achieve it.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Why don;t you use JS framework to update the page with image. You should use a JQuery plugin - something like:

http://stackoverflow.com/questions/9083209/how-to-upload-image-and-show-it-without-refresh-with-jque...

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Why don;t you use JS framework to update the page with image. You should use a JQuery plugin - something like:

http://stackoverflow.com/questions/9083209/how-to-upload-image-and-show-it-without-refresh-with-jque...