I'm reading this google gadget API and have tried for 3hrs following
the doc, yet nothing works.
Even copy/pasting the code from the doc doesn't work.
It seems only the legacy code works.
What is going on?
Does the code below work at all?


<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="hello world example" />
<Content type="html"><![CDATA[
Does This Work?
<div id="content_div">No!</div>
<script type="text/javascript">
function myfunction() {
document.getElementById('content_div').innerHTML = "<div>yes</div>";
};

gadgets.util.registerOnLoadHandler(myfunction);
</script>
]]></Content>
</Module>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to