从表中可编辑的td内容获取价值,并推送到JQuery中的数组

时间:2018-08-02 09:01:29

标签: javascript php jquery codeigniter

我想从qty列中获取所有值,并在qty列中将contenteditable =“ true” here is pic of my table

var ids_selected = []

var sendData = function() {
  $.post(BASE_URL+'/part_request/request_insert', {
    data: { ids : ids_selected, request_to : 
       $('#request_to').val()} 
  }, function(response) {
    console.log(response);
  });
}
`sendData();

我想将数量放入数组 here pic of my array

谢谢

0 个答案:

没有答案