var data = "testStr=" + 'E+1';
$.ajax({
url: '@Url.Action("test", "Confi", new { Area = "Confi" })',
type: 'POST',
data: data,
success: function (response) {
}
});
Above is my ajax call. Before call data
var has string as testStr= E+1. But when ajax call is made in controller the +
is replaced by blank
. What am I doing wrong.