How to pass parameters in $ajax POST? - Stack Overflow
https://stackoverflow.com/questions/18697034/how-to-pass-parameters-in-ajax-post
WebSep 9, 2013 · A solution is to use the jQuery.param function to build a query string that most scripts that process POST requests expect. $.ajax({ url: 'superman', type: 'POST', data: jQuery.param({ field1: "hello", field2 : "hello2"}) , contentType: 'application/x-www-form-urlencoded; charset=UTF-8', success: function (response) { alert(response.status ...
DA: 62 PA: 55 MOZ Rank: 96