根据对象,返回'&键名=值&键名=值‘形式
Object.prototype.srcCode=function () {
var str='';
for(key in this){
if (this.hasOwnProperty(key) === true){
str+="&"+item+"="+this[item]
}
};
return str;
}

浙公网安备 33010602011771号