My ajax method:
$.ajax({
url: actionURL,
type: 'POST',
dataType: 'json',
data: { values: data },
success: function (data) {
}
});
My controller method:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult SaveParameter(string [][] values)
{
...
}
I have tried a bunch of things, but nothing is working. How can I compose 'data' in javascript??