I am modifying an existing application where there is already a list on the html. I will be adding a fancybox where the user can select from checkboxes inside the fancybox and when closing the fancybox the selection will be appended to the loaded form. Here is the html of the list and I want to add the selected items to it.
<ul id="collabList" data-area="display-list">
<li>
First item in the list
<button class="btn btn-link btn-sm" type="button" data-action="remove">
<i class="glyphicon glyphicon-remove-sign"></i>
</button>
</li>
<li>
Second item in the list
<button class="btn btn-link btn-sm" type="button" data-action="remove">
<i class="glyphicon glyphicon-remove-sign"></i>
</button>
</li>
</ul>
