getJSON problem
getJSON problem
I have some problem with getsJSON :
var
jqxhr
=
$
.
getJSON
(
"
http://www.egotime.com/webservice/json/?app_id=RRxc8pZBpUb5Z1W0t9DVnQZZXnuAhnPw&query=events&pageindex=0&page_itemcount=5&show_itemcount=1
"
,
function
(
)
{
alert
(
"success"
)
;
}
)
.
success
(
function
(
)
{
alert
(
"second success"
)
;
}
)
.
error
(
function
(
)
{
alert
(
"error"
)
;
}
)
.
complete
(
function
(
)
{
alert
(
"complete"
)
;
}
)
;
$
.
ajax
(
{
dataType
:
"json"
,
success
:
function
(
data
)
{
// do something
alert
(
"Success"
)
;
}
,
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 ?
Topic Participants
net-x
jakecigar