Asp.Net Mvc JQuery ajax input parameters are null
- by Dofs
Hi,
I am trying to post some data with jQuery Ajax, but the parameters in my Ajax method are null.
This is simple test to send data:
var dataPost = { titel: 'titel', message: 'msg', tagIds: 'hello' };
jQuery.ajax({
type: "POST",
url: "Create",
contentType: 'application/json; charset=utf-8',
…