Return to Snippet

Revision: 48459
at July 1, 2011 22:10 by devnull69


Initial Code
var xmlhttp = new XMLHttpRequest();
xmlhttp.open('POST', 'http://whatever.com/myscript.php', true);
xmlhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
xmlhttp.onreadystatechange = function() {
};
xmlhttp.send('param=5');

Initial URL


Initial Description


Initial Title
Ajax POST Request

Initial Tags
ajax, post

Initial Language
JavaScript