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.
ok, I will try by the use of ajax but nobody that used getjson had
this problem?
Everyone and anyone using $.getJSON *is* using $.ajax
straight from the jQuery file
getJSON: function( url, data, callback ) {
return jQuery.get(url, data, callback, json);
},
which in turn calls
get:
use $.ajax() instead, you can define function when the ajax fails
On Nov 18, 12:17 am, Humpty Dumpty ste...@gmail.com wrote:
Hi guys,
I write a web page that retrieve the data from a JSON formatted file
but when this fiel doesn't exist I can't see any error;
how I can handle this situation
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?
4 matches
Mail list logo