Usually javascript caused stack overflows happen when you have a function that calls another function that calls the first function- recursion.
Accessing an array index that is too large will usually get caught by the browser with a message like 'Not enough Stack Space' or 'Invalid Array', but that is another possibility.
There are also OS stack overflows, but they usually crash or freeze the application running the stack, and any error message will come from the OS, and not the browser.
if ( Date.prototype.__msh_oldSetFullYear == null )
{
Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
}
var d = new Date(this);
d.__msh_oldSetFullYear(y);
if (d.getMonth() != this.getMonth())
this.setDate(28);
this.__msh_oldSetFullYear(y);
};
At least 98% of internet users' DNA is identical to that of chimpanzees
i have changed the code with your help but when i click on the calendar, it goes directly to the report.
meaning that the calendar does not pop up.
i changed it to :
--------------------------------------------------------------------------
if ( Date.prototype.__msh_oldSetFullYear == null )
{
Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
}
var d = new Date(this);
d.__msh_oldSetFullYear(y);
if (d.getMonth() != this.getMonth())
this.setDate(28);
this.__msh_oldSetFullYear(y);
};
Bookmarks