I have the controller like the below:
public ActionResult Save(string input, string name) {
    //Some code
    return PartialView();
}
And I need an ajax call to this controller method and pass the two arguments input and value
And my ajax call is like the below:
$.ajax({
    url: '/Home/Save',
    type: 'POST',
    async: false,
    dataType: 'text',
    processData: false,
    data: "input=" + JSON.stringify(data) + "&name =" + $("#name").val(),
    success: function (data) {
    }
});
I am unable to pass the value to the name parameter. The value in the name parameter is becoming null.
 
     
     
     
     
     
     
     
    