$.ajax({
url:url,
type:"POST",
data:data,
contentType:"application/json; charset=utf-8",
dataType:"json",
success: function(){
...
}
})
See : jQuery.ajax()
More Related Contents:
- Jquery Ajax Posting JSON to webservice
- How can I use JQuery to post JSON data?
- How can I convince IE to simply display application/json rather than offer to download it?
- jQuery Call to WebService returns “No Transport” error
- Send JSON data via POST (ajax) and receive json response from Controller (MVC)
- Rotating a Div Element in jQuery
- How to pass parameters in $ajax POST?
- CORS jQuery AJAX request
- How to get a cookie from an AJAX response?
- How to return data from PHP to a jQuery ajax call
- How do I make jQuery wait for an Ajax call to finish before it returns?
- Getting 400 bad request error in Jquery Ajax POST
- jQuery: Check if image exists
- jQuery.ajax fails when url is from different server
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- When using Ajax with jQuery DataTables, how do I determine what to do with the data returned?
- “How” to save an entire collection in Backbone.js – Backbone.sync or jQuery.ajax?
- What is the difference between async:false and async:true in jquery ajax?
- GUI-based or Web-based JSON editor that works like property explorer [closed]
- Remember ajax added data when hitting back button
- jQuery: Making simultaneous ajax requests, is it possible?
- jQuery ajax upload with progress bar – no flash
- submitting multiple forms with AJAX
- Simple jQuery Ajax call leaks memory in Internet Explorer
- JQuery .load() callback function
- jQuery AJAX call results in error status 403
- Using jQuery’s $.ajax within an angularJS controller
- Jquery post and unobtrusive ajax validation not working mvc 4
- jQuery Deferred – getting result of chained ajax calls
- Stop $.ajax on beforeSend