"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
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
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?
use $.ajax() instead, you can define function when the ajax fails
On Nov 18, 12:17 am, Humpty Dumpty 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
4 matches
Mail list logo