This jQuery Ajax example will help you to learn how to post data using .post method.This contains two sub parameters , the first one holds the returned data from the requested page and second one holds the status of the request. www.example.com/submit-data.php?nameJohnage50. These are separated pairs in the first part is key, acts a variable and other one is value, the value of this variable.Now you can easily pass parameters with your AJAX request. jQuery Ajax Function Example. How to Analyse HTTP Requests using Net Panel, HTTP Fox Fiddler2. GET vs POST.When using GET a HTTP request is generated and passes the data to the web server as a set of encoded parameters appended to the URL in a query string. You can view the examples page to see how simple it is to use Ajax with the AjaxRequest library.doTextRequest(url, method, parameters, callback, asynchronous). Generates a new Ajax request and receives the response as plain text. For example, plain vanilla GET requests which should present some dynamic data to the enduser depending on the parameters.But, with a big BUT, a request scoped managed bean will be recreated on every ajax request! You would like to use a view scoped managed bean instead. You can pass extra parameters: by including them in the request string: dhx. ajax("some.php?actioninfoid123") by a separate string with parameters JQuery in the ajax call webservice parameters passed array examples Detailed solution. JQuery ajax method to access web service instance. Example Detailed jQuery Mockjax plug-in simulation Ajax request.