Monday - Friday: 8am-5pm Saturday - Sunday: 8am-2pm. An object of XMLHttpRequest is used for asynchronous communication between client and server. Here, we are going to see a simple example of sending post data with the help of the XMLHTTPRequest JavaScript object. Retrieve the position (X,Y) of an HTML element, Convert form data to JavaScript object with jQuery, How to manually send HTTP POST requests from Firefox or Chrome browser. Warning: You have to use encodeURIComponent() for all names and especially for the values so that possible & contained in the strings do not break the format. You correctly identified the problem, great. You will need to create a http web server to write response data back to the ajax client. Create an XMLHttpRequest object. XMLHttpRequest is used to make an http request to a server. What error are you getting now? Now I can access the WCF service. See also similar answer about XMLHttpRequest to Post HTML Form. Such an object can hold name and value pairs. Mail us on [emailprotected], to get more information about given services. XMLHttpRequest object is used in javascript to implement ajax synchronous or asynchronous call to web service. This is the client that can talk to this service: Client Page,