Hello guys.
I'm working on a Opensocial Application and its working perfectly on Mozilla
Firefox, but while testing it on Internet Explorer 7, it gives me an error.
I'll post the error and a code that gives me the exact same problem!
The Code:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Test">
<Require feature="opensocial-0.8" />
<Require feature="views" />
</ModulePrefs>
<Content type="html" view="canvas">
<![CDATA[
<script>
function doRequest() {
var url = 'http://www.google.com';
var params = {};
alert(url);
gadgets.io.makeRequest(url, requestCallback, params);
alert("Requested")
}
function requestCallback(response) {
document.getElementById('result').innerHTML = response.text;
}
</script>
<h1>Hello World</h1>
<a href='javascript:doRequest()'>Make a Request!</a>
<div id='result'> </div>
]]>
</Content>
<Content type="html" view="profile">
<![CDATA[
<h1>Holy Crap!</h1>
]]>
</Content>
</Module>
The Error (translated from brazilian portuguese):
Linha: 436
Character: 1
Error: Access Denied
Code: 0
Am i doing something wrong on IE?
André
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut 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/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---