I am working on an ASP.NET application that makes a lot of jquery and javascript calls and tries to maximize client-side code. (This web application is only designed to run on special hardware with very low memory and processing power.)
The Firebug Profiler is great for figuring out which calls take the most time. I have already optimized a lot of my selectors, and it is much faster.
However, the profile displays a lot of jquery error () calls. In the attached image of the Firebug profile window, you can see that it was called 52 times, which is 15.4 processing time.
It is normal for jquery to cause its error (), how is it? My code works flawlessly and there are no error messages on the firefox error console. This seems to be a significant success. Anyway, to learn more about what errors are?
Thank.
Picture
alt text http://img267.imageshack.us/img267/1730/jqueryerror.jpg
EDIT: I am not using / not causing error () anywhere in my code. Those error () calls seem to be made by the jquery map itself, based on what I see when I insert breakpoints and go through the application line by line.
EDIT: I am using jQuery version 1.4.2
source
share