Issue on Getting Table Values From Checkbox in Rows

Issue on Getting Table Values From Checkbox in Rows

Can you please take a look at this demo and let me know how I can store(push) values of checked rows in Js Array or Object?

  1.     var obj=[
  2.         {
  3.             id : "001",
  4.             name : "apple",
  5.             category : "fruit",
  6.             color : "red"
  7.         },
  8.         {
  9.             id : "002",
  10.             name : "melon",
  11.             category : "fruit",
  12.             color : "green"
  13.         },
  14.         {
  15.             id : "003",
  16.             name : "banana",
  17.             category : "fruit",
  18.             color : "yellow"
  19.         }
  20.     ]
  21.     $.each(obj, function (index, item) {
  22.          var eachrow = "<tr>"
  23.                      + "<td id="+index+"><input type='checkbox'></td>"
  24.                      + "<td>" + item["id"] + "</td>"
  25.                      + "<td>" + item["name"] + "</td>"
  26.                      + "<td>" + item["category"] + "</td>"
  27.                      + "<td>" + item["color"] + "</td>"
  28.                      + "</tr>";
  29.          $('#tbody').append(eachrow);
  30.     });

Thanks