Example 2: Ajax link, sets data to destination element
<@link_to controller="books" action="fetch" destination="result">Get Books</@>
So if I have
<div id="result">stuff</div>
I would get
<div id="result">result</div>
I would like to instead APPEND the result to the content of the div. My suggestion is to use a flag "appendtodestination" for example:
<@link_to controller="books" action="fetch" destination="result" appendtodestination="true">Get Books</@>
results in:
<div id="result">stuff result</div>
This makes many operations much simpler. So while this is a feature request is there an easy way without doing my own jquery code to do this now?