getJSON problem

getJSON problem

I have some problem with getsJSON :

  1. var jqxhr = $.getJSON("http://www.egotime.com/webservice/json/?app_id=RRxc8pZBpUb5Z1W0t9DVnQZZXnuAhnPw&query=events&pageindex=0&page_itemcount=5&show_itemcount=1", function() {
  2.   alert("success");})
  3.     
  4.     
  5. .success(function() { alert("second success"); })
  6. .error(function() { alert("error"); })
  7. .complete(function() { alert("complete"); });

  1. $.ajax({
  2.     dataType: "json",
  3.     success: function(data) {
  4.         // do something
  5.         alert("Success");
  6.     },
  7.     url: "http://www.egotime.com/webservice/json/?app_id=RRxc8pZBpUb5Z1W0t9DVnQZZXnuAhnPw&query=events&pageindex=0&page_itemcount=5&show_itemcount=1"
It doesn't show the alert box with Success however my json Url is OK and validate.

but with flickr : http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=? it's allright !

Can anyone help me please ?