Sivo 悉见

ecshop中使用Jquery特效报错“b.replace is not a function”

匿名 · 更新于 2015/10/31

将ecshop二次开发中,使用jQuery特效的时候
结果运行始终提示js错误:

TypeError: b.replace is not a function
 
1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var" a.style.opacity}}},cssnumber:{fillopacity:!0,fontweight:!0,lineheight:!0,opacity:!0,orphans:!0,widows:!0,zindex:!0,zoom:!0},cssprops:{"float":f.support.cssfloat?"cssfloat":"stylefloat"},style:function(a,c,d,e){if(!!a&&a.nodetype!="=3&&a.nodeType!==8&&!!a.style){var" g,h,i="f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in" k&&(g="k.get(a,!1,e))!==b)return" g;return="" j[c]}h="typeof" d,h="=="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in" k)||(d="k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var" e,g;c="f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in" g&&(e="g.get(a,!0,d))!==b)return" e;if(by)return="" by(a,c)},swap:function(a,b,c){var="" b)d[f]="a.style[f],a.style[f]=b[f];e=c.call(a);for(f" b)a.style[f]="d[f];return" e}}),f.curcss="f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var" c,d,e,g,h="a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return" c}),c.documentelement.currentstyle&&(ba="function(a,b){var" c,d,e,f="a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return" f="==""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return" a.offsetwidth!="=0?bB(a,b,d):f.swap(a,bw,function(){return" bb(a,b,d)})},set:function(a,b){return="" bs.test(b)?b+"px":b}}}),f.support.opacity||(f.csshooks.opacity="{get:function(a,b){return" bq.test((b&&a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)="" 100+"":b?"1":""},set:function(a,b){var="" "+e}}),f(function(){f.support.reliablemarginright||(f.csshooks.marginright="{get:function(a,b){return" f.swap(a,{display:"inline-block"},function(){return="" b?by(a,"margin-right"):a.style.marginright})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden="function(a){var" d,e="typeof" "):[c],f="{};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return var="" bc="/%20/g,bD=/[]$/,bE=/r?n/g,bF=/#.*$/,bG=/^(.*?):[" bh=""/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^///,bL=/?/,bM=/)<[^<]*)*</script">/gi,bN=/^(?:select|textarea)/i,bO=/s+/,bP=/([?&])_=[^&]*/,bQ=/^([w+.-]+:)(?://([^/?#:]*)(?::(d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof" br.apply(this,arguments);if(!this.length)return="" this;var="" e="a.indexOf("" ");if(e>="0){var" i="this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
		<div>&quot;).append(c.replace(bM,&quot;&quot;)).find(g):c)),d&amp;&amp;i.each(d,[c,b,a])}});return&quot; this},serialize:function(){return=&quot;&quot; f.param(this.serializearray())},serializearray:function(){return=&quot;&quot; this.elements?f.makearray(this.elements):this}).filter(function(){return=&quot;&quot; this.name&amp;&amp;!this.disabled&amp;&amp;(this.checked||bn.test(this.nodename)||bh.test(this.type))}).map(function(a,b){var=&quot;&quot; ajaxstop=&quot;&quot; ajaxcomplete=&quot;&quot; ajaxerror=&quot;&quot; ajaxsuccess=&quot;&quot; ajaxsend&quot;.split(&quot;=&quot;&quot; &quot;),function(a,b){f.fn[b]=&quot;function(a){return&quot; this.on(b,a)}}),f.each([&quot;get&quot;,&quot;post&quot;],function(a,c){f[c]=&quot;function(a,d,e,g){f.isFunction(d)&amp;&amp;(g=g||e,e=d,d=b);return&quot; f.ajax({type:c,url:a,data:d,success:e,datatype:g})}}),f.extend({getscript:function(a,c){return=&quot;&quot; f.get(a,b,c,&quot;script&quot;)},getjson:function(a,b,c){return=&quot;&quot; f.get(a,b,c,&quot;json&quot;)},ajaxsetup:function(a,b){b?b$(a,f.ajaxsettings):(b=&quot;a,a=f.ajaxSettings),b$(a,b);return&quot; a},ajaxsettings:{url:bu,islocal:bi.test(bv[1]),global:!0,type:&quot;get&quot;,contenttype:&quot;application=&quot;&quot; x-www-form-urlencoded;=&quot;&quot; charset=&quot;UTF-8&quot;,processData:!0,async:!0,accepts:{xml:&quot;application/xml,&quot; text=&quot;&quot; xml&quot;,html:&quot;text=&quot;&quot; html&quot;,text:&quot;text=&quot;&quot; plain&quot;,json:&quot;application=&quot;&quot; json,=&quot;&quot; javascript&quot;,&quot;*&quot;:bw},contents:{xml:=&quot;&quot; xml=&quot;&quot; ,html:=&quot;&quot; html=&quot;&quot; ,json:=&quot;&quot; json=&quot;&quot; },responsefields:{xml:&quot;responsexml&quot;,text:&quot;responsetext&quot;},converters:{&quot;*=&quot;&quot; text&quot;:a.string,&quot;text=&quot;&quot; html&quot;:!0,&quot;text=&quot;&quot; json&quot;:f.parsejson,&quot;text=&quot;&quot; xml&quot;:f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:by(bs),ajaxtransport:by(bt),ajax:function(a,c){function=&quot;&quot; w(a,c,l,m){if(s!=&quot;=2){s=2,q&amp;&amp;clearTimeout(q),p=b,n=m||&quot;&quot;,v.readyState=a&gt;0?4:0;var&quot; o,r,u,w=&quot;c,x=l?ca(d,v,l):b,y,z;if(a&gt;=200&amp;&amp;a&lt;300||a===304){if(d.ifmodified){if(y=v.getresponseheader(&quot;last-modified&quot;))f.lastmodified[k]=y;if(z=v.getresponseheader(&quot;etag&quot;))f.etag[k]=z}if(a===304)w=&quot;notmodified&quot;,o=!0;else r=&quot;cb(d,x),w=&quot;success&quot;,o=!0}catch(A){w=&quot;parsererror&quot;,u=A}}else{u=w;if(!w||a)w=&quot;error&quot;,a&lt;0&amp;&amp;(a=0)}v.status=a,v.statusText=&quot;&quot;+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&amp;&amp;g.trigger(&quot;ajax&quot;+(o?&quot;Success&quot;:&quot;Error&quot;),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&amp;&amp;(g.trigger(&quot;ajaxComplete&quot;,[v,d]),--f.active||f.event.trigger(&quot;ajaxStop&quot;))}}typeof&quot; instanceof=&quot;&quot; h=&quot;f.Deferred(),i=f.Callbacks(&quot;once&quot; j=&quot;d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var&quot; return=&quot;&quot; s=&quot;==2)){v.abort();return!1}for(u&quot;&quot; a=&quot;a||&quot;abort&quot;,p&amp;&amp;p.abort(a),w(0,a);return&quot; v.success=&quot;v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var&quot; b=&quot;&quot; d.url=&quot;((a||d.url)+&quot;&quot;).replace(bF,&quot;&quot;).replace(bK,bV[1]+&quot;//&quot;),d.dataTypes=f.trim(d.dataType||&quot;*&quot;).toLowerCase().split(bO),d.crossDomain==null&amp;&amp;(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&amp;&amp;r[2]==bV[2]&amp;&amp;(r[3]||(r[1]===&quot;http:&quot;?80:443))==(bV[3]||(bV[1]===&quot;http:&quot;?80:443)))),d.data&amp;&amp;d.processData&amp;&amp;typeof&quot; d.data=&quot;f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&amp;&amp;f.active++===0&amp;&amp;f.event.trigger(&quot;ajaxStart&quot;);if(!d.hasContent){d.data&amp;&amp;(d.url+=(bL.test(d.url)?&quot;&amp;&quot;:&quot;?&quot;)+d.data,delete&quot;&quot; k=&quot;d.url;if(d.cache===!1){var&quot; x=&quot;f.now(),y=d.url.replace(bP,&quot;$1_=&quot;+x);d.url=y+(y===d.url?(bL.test(d.url)?&quot;&amp;&quot;:&quot;?&quot;)+&quot;_=&quot;+x:&quot;&quot;)}}(d.data&amp;&amp;d.hasContent&amp;&amp;d.contentType!==!1||c.contentType)&amp;&amp;v.setRequestHeader(&quot;Content-Type&quot;,d.contentType),d.ifModified&amp;&amp;(k=k||d.url,f.lastModified[k]&amp;&amp;v.setRequestHeader(&quot;If-Modified-Since&quot;,f.lastModified[k]),f.etag[k]&amp;&amp;v.setRequestHeader(&quot;If-None-Match&quot;,f.etag[k])),v.setRequestHeader(&quot;Accept&quot;,d.dataTypes[0]&amp;&amp;d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!==&quot;*&quot;?&quot;,&quot; q=&quot;0.01&quot;:&quot;&quot;):d.accepts[&quot;*&quot;]);for(u&quot; p=&quot;bZ(bT,d,c,v);if(!p)w(-1,&quot;No&quot; v.readystate=&quot;&quot;1,t&amp;&amp;g.trigger(&quot;ajaxSend&quot;,[v,d]),d.async&amp;&amp;d.timeout&quot;&gt;0&amp;&amp;(q=setTimeout(function(){v.abort(&quot;timeout&quot;)},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s&lt;2)w(-1,z);else throw=&quot;&quot; return=&quot;&quot; var=&quot;&quot; cc=&quot;f.now(),cd=/(=)?(&amp;|$)|??/i;f.ajaxSetup({jsonp:&quot;callback&quot;,jsonpCallback:function(){return&quot; json=&quot;&quot; b.data=&quot;=&quot;string&quot;&amp;&amp;/^application/x-www-form-urlencoded/.test(b.contentType);if(b.dataTypes[0]===&quot;jsonp&quot;||b.jsonp!==!1&amp;&amp;(cd.test(b.url)||e&amp;&amp;cd.test(b.data))){var&quot; h=&quot;a[i],cm.test(h)?(q=f._data(this,&quot;toggle&quot;+i)||(h===&quot;toggle&quot;?d?&quot;show&quot;:&quot;hide&quot;:0),q?(f._data(this,&quot;toggle&quot;+i,q===&quot;show&quot;?&quot;hide&quot;:&quot;show&quot;),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?&quot;&quot;:&quot;px&quot;),p!==&quot;px&quot;&amp;&amp;(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&amp;&amp;(o=(m[1]===&quot;-=&quot;?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,&quot;&quot;));return!0}var&quot; was=&quot;&quot; not=&quot;&quot; application=&quot;&quot; script:=&quot;&quot; ecmascript=&quot;&quot; text=&quot;&quot; a.cache=&quot;==b&amp;&amp;(a.cache=!1),a.crossDomain&amp;&amp;(a.type=&quot;GET&quot;,a.global=!1)}),f.ajaxTransport(&quot;script&quot;,function(a){if(a.crossDomain){var&quot; ce=&quot;a.ActiveXObject?function(){for(var&quot; cf=&quot;0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&amp;&amp;ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&amp;&amp;&quot;withCredentials&quot;in&quot; d=&quot;function(a,e){var&quot; h.readystate=&quot;==4)){d=b,i&amp;&amp;(h.onreadystatechange=f.noop,ce&amp;&amp;delete&quot; j=&quot;new&quot; cj=&quot;{},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+-]=)?([d+.-]+)([a-z%]*)$/i,co,cp=[[&quot;height&quot;,&quot;marginTop&quot;,&quot;marginBottom&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;],[&quot;width&quot;,&quot;marginLeft&quot;,&quot;marginRight&quot;,&quot;paddingLeft&quot;,&quot;paddingRight&quot;],[&quot;opacity&quot;]],cq;f.fn.extend({show:function(a,b,c){var&quot; a=&quot;parseFloat(b))?!b||b===&quot;auto&quot;?0:b:a},custom:function(a,c,d){function&quot; g=&quot;==&quot;height&quot;||g===&quot;width&quot;)&amp;&amp;(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,&quot;display&quot;)===&quot;inline&quot;&amp;&amp;f.css(this,&quot;float&quot;)===&quot;none&quot;&amp;&amp;(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)===&quot;inline&quot;?this.style.display=&quot;inline-block&quot;:this.style.zoom=1))}b.overflow!=null&amp;&amp;(this.style.overflow=&quot;hidden&quot;);for(i&quot; function=&quot;&quot; e.queue=&quot;==!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof&quot; k=&quot;f.cssHooks[g])&amp;&amp;&quot;expand&quot;in&quot; l=&quot;k.expand(a[g]),delete&quot; i=&quot;&quot; c=&quot;!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b&quot; b=&quot;f.css(this.elem,this.prop);return&quot; d.duration=&quot;=&quot;number&quot;?d.duration:d.duration&quot; d.queue=&quot;=null||d.queue===!0)d.queue=&quot;fx&quot;;d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&amp;&amp;d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&amp;&amp;f._unmark(this)};return&quot; this.options=&quot;b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&amp;&amp;this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&amp;&amp;(!this.elem.style||this.elem.style[this.prop]==null))return&quot; e=&quot;&quot;cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e&quot;&gt;=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b&quot; i.animatedproperties)i.animatedproperties[b]!=&quot;=!0&amp;&amp;(g=!1);if(g){i.overflow!=null&amp;&amp;!f.support.shrinkWrapBlocks&amp;&amp;f.each([&quot;&quot;,&quot;X&quot;,&quot;Y&quot;],function(a,b){h.style[&quot;overflow&quot;+b]=i.overflow[a]}),i.hide&amp;&amp;f(h).hide();if(i.hide||i.show)for(b&quot; i.animatedproperties)f.style(h,b,i.orig[b]),f.removedata(h,&quot;fxshow&quot;+b,!0),f.removedata(h,&quot;toggle&quot;+b,!0);d=&quot;i.complete,d&amp;&amp;(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var&quot; f.grep(f.timers,function(b){return=&quot;&quot; cv,cw=&quot;/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;&quot;getBoundingClientRect&quot;in&quot; c.documentelement?cv=&quot;function(a,b,c,d){try{d=a.getBoundingClientRect()}catch(e){}if(!d||!f.contains(c,a))return&quot; d?{top:d.top,left:d.left}:{top:0,left:0};var=&quot;&quot; null;if(c=&quot;==d.body)return&quot; f.offset.bodyoffset(c);return=&quot;&quot; cv(c,d,d.documentelement)},f.offset=&quot;{bodyOffset:function(a){var&quot; b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return=&quot;&quot; null;var=&quot;&quot; this.map(function(){var=&quot;&quot; a})}}),f.each({scrollleft:&quot;pagexoffset&quot;,scrolltop:&quot;pageyoffset&quot;},function(a,c){var=&quot;&quot; f.access(this,function(a,e,g){var=&quot;&quot; h?c=&quot;&quot; h?h[c]:f.support.boxmodel&amp;&amp;h.document.documentelement[e]||h.document.body[e]:a[e];h?h.scrollto(d?f(h).scrollleft():g,d?g:f(h).scrolltop()):a[e]=&quot;g},a,e,arguments.length,null)}}),f.each({Height:&quot;height&quot;,Width:&quot;width&quot;},function(a,c){var&quot; a?a.style?parsefloat(f.css(a,c,&quot;padding&quot;)):this[c]():null},f.fn[&quot;outer&quot;+a]=&quot;function(a){var&quot; b?b.style?parsefloat(f.css(b,c,a?&quot;margin&quot;:&quot;border&quot;)):this[c]():null},f.fn[c]=&quot;function(a){return&quot; f.access(this,function(a,c,h){var=&quot;&quot; i,j,k,l;if(f.iswindow(a)){i=&quot;a.document,j=i.documentElement[d];return&quot; f.support.boxmodel&amp;&amp;j||i.body&amp;&amp;i.body[d]||j}if(a.nodetype=&quot;==9){i=a.documentElement;if(i[d]&gt;=i[e])return&quot; i[d];return=&quot;&quot; math.max(a.body[e],i[e],a.body[g],i[g])}if(h=&quot;==b){k=f.css(a,c),l=parseFloat(k);return&quot; f.isnumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jquery=&quot;a.$=f,typeof&quot; define=&quot;=&quot;function&quot;&amp;&amp;define.amd&amp;&amp;define.amd.jQuery&amp;&amp;define(&quot;jquery&quot;,[],function(){return&quot; f})})(window);&quot;=&quot;&quot; class=&quot;errorSourceCode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;...end.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,comp...<!--2)w(-1,z);else--><!--300||a===304){if(d.ifmodified){if(y=v.getresponseheader(&quot;last-modified&quot;))f.lastmodified[k]=y;if(z=v.getresponseheader(&quot;etag&quot;))f.etag[k]=z}if(a===304)w=&quot;notmodified&quot;,o=!0;else--></div>
		<!--4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return--></td>
	</tr>
</tbody>

<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return var="" bc="/%20/g,bD=/[]$/,bE=/r?n/g,bF=/#.*$/,bG=/^(.*?):[" bh=""/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^///,bL=/?/,bM=/)<[^<]*)*</script"><300||a===304){if(d.ifmodified){if(y=v.getresponseheader("last-modified"))f.lastmodified[k]=y;if(z=v.getresponseheader("etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else r="cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof" instanceof="" h="f.Deferred(),i=f.Callbacks("once" j="d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var" return="" s="==2)){v.abort();return!1}for(u"" a="a||"abort",p&&p.abort(a),w(0,a);return" v.success="v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var" b="" d.url="((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof" d.data="f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete"" k="d.url;if(d.cache===!1){var" x="f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?"," q="0.01":""):d.accepts["*"]);for(u" p="bZ(bT,d,c,v);if(!p)w(-1,"No" v.readystate=""1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout"><2)w(-1,z);else throw="" return="" var="" cc="f.now(),cd=/(=)?(&|$)|??/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return" json="" b.data="="string"&&/^application/x-www-form-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var" h="a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,""));return!0}var" was="" not="" application="" script:="" ecmascript="" text="" a.cache="==b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var" ce="a.ActiveXObject?function(){for(var" cf="0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in" d="function(a,e){var" h.readystate="==4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete" j="new" cj="{},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+-]=)?([d+.-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var" a="parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function" g="=="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i" function="" e.queue="==!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof" k="f.cssHooks[g])&&"expand"in" l="k.expand(a[g]),delete" i="" c="!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b" b="f.css(this.elem,this.prop);return" d.duration="="number"?d.duration:d.duration" d.queue="=null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return" this.options="b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return" e=""cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e">

 



最后发现是transport.js文件中的 
Object.prototype.toJSONString = function () {}
引起的。

删除该函数会影响其它的地方,那该怎么办呢,有一个好办法可以解决.
delete(Object.prototype.toJSONString);
将该语句放在js文件的开始位置就可以了。