Set the traditional property to true before making the get call.
i.e.:
jQuery.ajaxSettings.traditional = true
$.get('/controller/MyAction', { vals: arrayOfValues }, function (data) {...
More Related Contents:
- Download Excel file via AJAX MVC
- Passing A List Of Objects Into An MVC Controller Method Using jQuery Ajax
- Prevent Caching in ASP.NET MVC for specific actions using an attribute
- ASP.NET MVC $.post call returning string…need help with format for jqGrid
- Making a Simple Ajax call to controller in asp.net mvc
- Accessing MVC’s model property from Javascript
- Rendering partial view on button click in ASP.NET MVC
- How to post an array of complex objects with JSON, jQuery to ASP.NET MVC Controller?
- How can I post a list of items in MVC
- Posting JSON Data to ASP.NET MVC
- ASP .NET MVC Disable Client Side Validation at Per-Field Level
- MVC/JQuery validation does not accept comma as decimal separator
- Rendering Partial Views using ajax
- MVC 4 Edit modal form using Bootstrap
- string.empty converted to null when passing JSON object to MVC Controller
- Date of Birth validation keeps showing
- Possible to access MVC ViewBag object from Javascript file?
- Need an ASP.NET MVC long running process with user feedback
- The field must be a date – DatePicker validation fails in Chrome – mvc
- How to upload large files using MVC 4?
- Working example for JavaScriptResult in asp.net mvc
- How to display indirect data in Jqgrid
- how to implement url rewriting similar to SO
- JQuery ajax call to httpget webmethod (c#) not working
- Dictionary map to an object using Automapper
- How can I secure passwords stored inside web.config?
- How to add Web API to an existing ASP.NET MVC (5) Web Application project?
- How can I upload a file and save it to a Stream for further preview using C#?
- Repository Pattern, POCO, and Business Entities
- What is the difference between DependencyResolver.SetResolver and HttpConfiguration.DependencyResolver in WebAPI