2013-10-31 18:55:22 +00:00
|
|
|
function postInfo(path, data) {
|
2013-11-02 19:52:50 +00:00
|
|
|
var xmlHttp = new XMLHttpRequest();
|
2013-10-31 18:55:22 +00:00
|
|
|
|
|
|
|
if (xmlHttp.overrideMimeType) {
|
|
|
|
xmlHttp.overrideMimeType("text/plain; charset=x-user-defined");
|
|
|
|
}
|
|
|
|
|
|
|
|
xmlHttp.open('POST', path, false);
|
|
|
|
xmlHttp.send(data);
|
2014-03-03 01:47:24 +00:00
|
|
|
}
|