I have a list in our implementation my company uses for recognizing efforts of individuals at the company. Anyone can add an item to this list. The fields they need to fill out are "Who they are recognizing" and "Why are they recognizing that person".
Currently, I have a site page created that pulls in that data via REST. On the site page I have a div tag with an id of container. My JavaScript/jQuery is appending code like this to my container for every list item:
<div class="recog">
<div class="to"></div>
<div class="message"></div>
</div>
In the same file, I have some CSS that's styling those classes. I wanted to add a button on the div that would allow users to like/unlike that specific recognition. Is this possible to do?
I was also messing around with rendering those divs using JSLink. Is it possible using JSLink?
Any help would be much appreciated!