how to add a new member to group?

how to add a new member to group?

Hi this is the fiddle this is not working for small screens so for display please use this link.

In the users tab,there are 2 tables.left side are group members and right side are group members.
For example,when you clickon del  group name then their respective group members will be selected(check boxes will be selected). The member so of del group are 1st row,2nd row and last row.So when you click on the del group button(on the left side) then 1st row,2nd row and 3rd row checkboxes will be selected.Also 2 buttons save and cancel button will appear on the top of the member table.Now Suppose I want to add 4th record then I will just select the check box and click save button.This is my idea.But I dont know how to do this.Can any one please help me in this