[jQuery] Ajax error handling textStatus

2009-12-09 Thread Cameron van den Bergh
Good day, When executing an ajax request, i've noticed the following problems : - the textStatus callback parameter is always set to success ; - the callback isn't triggered if a download error occurs (404 for example). I understand that the second problem might be unsolvable but is there any

[jQuery] Re: Performance Problems with Suggestion Plugin

2009-12-09 Thread Cameron van den Bergh
Hi, To improve efficiency, try using contexts in order to restrict the parsed DOM elements. For example, if you know that all targeted elements are in div id=main . stuff p class=myclass .. target text.../ p . /div then you should guide the selector engine towards the target :

[jQuery] Re: Ajax error handling textStatus

2009-12-09 Thread Cameron van den Bergh
for an error. http://docs.jquery.com/Ajax/jQuery.get#urldatacallbacktypehas some more information on that. -T.J. On Dec 9, 6:30 am, Cameron van den Bergh cameron.vandenbe...@gmail.com wrote: Good day, When executing an ajax request, i've noticed the following problems : - the textStatus