On Wed, 18 Nov 2009, Humpty Dumpty wrote:
Thanks, I though that there was a "JSON" solution; ok, I will try by the use of ajax but nobody that used getjson had this problem?
As a matter of fact, I just did. As I understand it $.getJSON() seems to be just a wrapper around an $.ajax() request. So I used $.ajaxSetup() to define an error handling routine.
see: http://stackoverflow.com/questions/572991/jquery-getjson-doesnt-trigger-callback
and: http://docs.jquery.com/Ajax/jQuery.ajax