jQuery processes the data
attribute and converts the values into strings.
Adding processData: false
to your options object fixes the error, but I’m not sure if it fixes the problem.
More Related Contents:
- Hide/Show div on specific page with jquery
- How to get a cookie from an AJAX response?
- Ajax in Jquery does not work from local file
- File Upload via AJAX within JQuery
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- jquery html() strips out script tags
- How does GitHub change the URL without reloading a page?
- Post JSON to Python CGI
- Google Map v3 auto refresh Markers only
- HTML5 validation before ajax submit
- HTML Web Worker and Jquery Ajax call
- jQuery ajax upload with progress bar – no flash
- jquery ajax load certain div
- HTML Anchor tag redirect link after ajax request
- What happens when no response is received for a request? I’m seeing retries
- Click button copy to clipboard
- Change the image source on rollover using jQuery
- How to fire AJAX request Periodically?
- Submit form using AJAX and jQuery
- Set selected option of select box
- Ajax.BeginForm in MVC to upload files
- jquery: change the URL address without redirecting? [duplicate]
- Submit form with Enter key without submit button? [duplicate]
- JQuery: ‘Uncaught TypeError: Illegal invocation’ at ajax request – several elements
- jQuery hide element while preserving its space in page layout
- Is there a good jQuery Drag-and-drop file upload plugin? [closed]
- Access Multiple Elements of same ID in jQuery
- jQuery Ajax returning 404 Error, but correct Response
- jQuery validator plugin + ajax submitting not working
- My Own Like Button: Django + Ajax — How?