Using jQuery.post
$.post(
"http://theurl.com",
{ key1: "value1", key2: "value2" },
function(data) {
alert("Response: " + data);
}
);
More Related Contents:
- JavaScript post request like a form submit
- Send POST data using XMLHttpRequest
- How to submit a form using PhantomJS
- Angularjs how to upload multipart form data and a file?
- Get HTTP Body of Form in JavaScript
- A form’s “action” and “onsubmit”: Which executes first?
- Best way to track onchange as-you-type in input type=”text”?
- Access Control Request Headers, is added to header in AJAX request with jQuery
- Request header field Access-Control-Allow-Headers is not allowed by Access-Control-Allow-Headers
- How to reset a form using jQuery with .reset() method
- How to build query string with Javascript
- Drop-down box dependent on the option selected in another drop-down box
- React input defaultValue doesn’t update with state
- How to hide form code from view code/inspect element browser?
- Change the content of a div based on selection from dropdown menu
- HTML form with two submit buttons and two “target” attributes
- Javascript to Select Multiple options [closed]
- Regex for Umlaut
- Required attribute Not working with File input in Angular Js
- Getting an option text/value with JavaScript
- Window.Open POST
- How to use JavaScript to change the form action [duplicate]
- Javascript – Stop form submit depending on ajax response [duplicate]
- Why does a FORM with one text INPUT submit on enter while one with two text INPUTs does not? [duplicate]
- Check if input is number or letter javascript
- jQuery see if any or no checkboxes are selected
- Get content of span
- Submit pdf form fields to a HTTP POST request
- Is there any size limitation for ajax post?
- HTML form input tag name element array with JavaScript