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