This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//funcion para hacer las llamadas ajax | |
function xhr (method, url, data, form, callback){ | |
var arr | |
var x = new XMLHttpRequest() | |
function buildQuery(url, data){ | |
var ret = []; | |
for (var d in data) ret.push(encodeURIComponent(d) + "=" + encodeURIComponent(data[d])); | |
var query = ret.join("&") |