I want to get the output of the jquery function which appends the selected rows ID into views.py I am using the code from this link: https://jsfiddle.net/snqw56dw/3182/ Need your help to get the selected data into views.py file.
$('#frm-example').on('submit', function(e){
var form = this;
var rows_selected = table.column(0).checkboxes.selected();
// Iterate over all selected checkboxes
$.each(rows_selected, function(index, rowId){
// Create a hidden element
$(form).append(
$('<input>')
.attr('type', 'hidden')
.attr('name', 'id[]')
.val(rowId)
);
});