I\'m trying to pass a list of numeric values (ids) from one web page to another with jQuery ajax call. I can\'t figure out how to pass and read all the values in the list. I
You can access this array by request.POST.getlist('terid[]') in the view
in javascript:
$.post(postUrl, {terid: values}, function(response){ alert(response); });
in view.py:
request.POST.getlist('terid[]')
It works perfect for me.