I have a extened Text and Image component .
What I am trying to do is , I want to place a submit button and with labeled as 'Add More' and on click it should add Text and Image to the page without refreshing the page/
Did any body try this before I am trying to understand how to approach the problem , if there are any refernces over the web for similar problems please let me know.
If what you want to do is for authors, then I suggest you to use dialog approach, have a multifield (which right now can contain text widget only) containing a compositefield (containing text and smartimage widgets) configured as one of the dialog widget.
For an example see http://helpx.adobe.com/content/help/en/adobe-cq/using/best-practices-cq-component-design.h tml#id_77978 in this example a composite field is implemented containing a text and link field.
I had the same requirement. But it was difficult to implement . We still couldnt figure out how to do that. So we had to take the approach said by splram ...