Component refresh on a ajax call | Community
Skip to main content
samthadhani2
Level 2
October 16, 2015
Solved

Component refresh on a ajax call

  • October 16, 2015
  • 1 reply
  • 776 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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-jquery-and-rails

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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-jquery-and-rails