How do I pass multiple arrays to a controller in jquery without using JSON?
var Test1 = {};
Test1.Source = 'String1';
Test2.Type = 'String2';
var Test2 = {};
Test2.Name = 'String3';
Test2.Location = 'String4';
My controller is
public Int64 Method1(Class1 cl1, Class2 cl2)
{
}
What is the correct syntax for the data property of $.ajax()? With one argument, I can have
data: Test1
However, how does this work with two or more arguments?