Question

I've been coding a little application in jQuery / JavaScript that works fine in the browser (tested latest FF, Chrome and IE 9) but somehow the code just isn't working as a Windows Gadget. I was doing some research and I think it has to do with getJSON-calls to an external API in my script.

How can I get getJSON to work in my Windows Gadget?

Also, how can I debug widgets written in JavaScript/HTML? There seems to be no console or anything like that.

Was it helpful?

Solution

HTML and javascript-debugging is possible via "Firebug" a firefox-addon.. Try to debug your application, otherwise compare your getJSON-call with other getJSON-examples (e.g. http://www.jquery4u.com/json/ajaxjquery-getjson-simple/)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top