function serialize(obj) { var str = ''; for (var i in obj) str += i + '=' + obj[i] + '&'; return str.replace(/&$/,''); }
serialize(isResult);