Strange problem, when I use_IG_FetchContent trying to access "http://
api.picapp.com"
callback function doesn't run.
This resource is accessible via browser.
Bellow is simple code used in gadget.
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="hello world example" />
<Content type="html"><![CDATA[
<div id="content_div"></div>
<script type="text/javascript">
function displayImages() {
var url="http://api.picapp.com";
_IG_FetchContent(url, function (responseText) {
alert(responseText);
});
}
_IG_RegisterOnloadHandler(displayImages);
</script>
]]>
</Content>
</Module>
Any suggestions or help will be appreciated…
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---