using JQuery append how to push list values to another div section on button click
For example:
I have two list values
1.Adam 2.Lance
I think that you could use this:
$(document).ready(function() { $("button").click(function () { $("#sortable").append(''+$(this).prev('label').text()+''); }); });
Demo: https://jsfiddle.net/oa2hfLum/4/