Stack Overflow error Jquery
HI All,
I am using jquery-1.4.1.js file but when i open application in I.E.8 it is throwing error "Stack Overflow occur at line 2734 Out of stack space" but it seems running smoothly on FireFox.
Code lines are as below-:
if ( left.substr( left.length - 1 ) !== "\\" ) {
match[1] = (match[1] || "").replace(/\\/g, "");
set = Expr.find[ type ]( match, context, isXML );开发者_如何学运维
if ( set != null ) {
expr = expr.replace( Expr.match[ type ], "" );
break;
}
Here in this code "set = Expr.find[ type ]( match, context, isXML );
" is a line no. 2734.
What could be reason. Please Help.
The reason is your stack is running out of memory. Memory is allocated but isn't deallocated - most probably because of an infinite loop.
Can we see the code on and around line 2734?
精彩评论