digg « json « jQuery Q&A

Home
jQuery Q&A
1.addClass
2.alert
3.array
4.attribute
5.browser
6.callback
7.clone
8.Cookie
9.Date
10.Development
11.document
12.dom
13.element
14.filter
15.Firefox
16.flash
17.format
18.html
19.input
20.internet explorer
21.json
22.mootools
23.page
24.performance
25.regex
26.safari
27.selector
28.setTimeout
29.String
30.table
31.Text
32.trigger
33.URL
34.video
35.xml
jQuery Q&A » json » digg 

1. Problem using $.getJSON() with jQuery    stackoverflow.com

I'm trying to run the following:

$.getJSON('http://services.digg.com/2.0/story.getTopNews?limit=25&callback=?', function(data) {
    console.log(data);
});
But I'm getting: story.getTopNews:-1Resource interpreted as Script but transferred with MIME type application/json. story.getTopNews:2Uncaught SyntaxError: Unexpected token : I've also tried something like ...

2. [jQuery] Digg JSONP API seems to have problem with $.getJSON implementation    forum.jquery.com

Hi Everybody,I was trying to access Digg's search API with $.getJSON as well aswith Twitter and Identica.Although, the twitter and identica search api are working fine, I havefound trouble when it come to accessing Digg API.The case in point URL :http://services.digg.com/search/stories?query=geeko&appkey=http%3A%2F%2Filovejquery.org&type=javascript&count=15&callback=someFunctionThis URL, when provided in location bar of the browser gives back theresult successfully. Now change the "someFunction" with "?" to ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.