Javascript – passing JSON formatted data with ajax is not working
I am trying to call an action in my controller with some JSON data, it seems to be reaching the action but the data is all null. This is what my Ajax function looks like: function AjaxPost(url, data) { $.ajax({…