jQuery AJAX Code

by Devansh


Posted on 29 Jul 2018 10:07:50 (2 weeks ago)


jQuery AJAX Sample for sending data in POST method.

$.ajax({
    url: url,
    data: postData,
    type: 'POST',
    success: function(data){
        console.log(data);
    }
});