Hi,

  Can you give me more information about what version of Internet
Explorer you're using?  I got the following test code to work in OSDA
(http://osda.appspot.com) using IE8 on orkut:

function callback(response) {
  if (response.data && response.data.length) {
    detailDiv = document.getElementById("dom_handle");
    detailDiv.innerHTML = response.text;
  }
};

function outthrow() {
  var throwData = { "test" : "test" };
  var post = gadgets.io.encodeValues(throwData);
  var url = "http://graargh.returnstrue.com/buh/templates_2.js";;
  var params = {};
  params[gadgets.io.RequestParameters.METHOD] =
gadgets.io.MethodType.POST;
  params[gadgets.io.RequestParameters.POST_DATA] = post;
  gadgets.io.makeRequest(url, callback, params);
};

outthrow();


What's the response that comes back from your server?  What data are
you sending to your server?

~Arne


On Jun 17, 11:45 am, "denghui.1...@googlemail.com" <denghui.
1...@googlemail.com> wrote:
> Hello everyone,
>
> I have a proplem when I use gadgets.io.makeRequest(). In
> Opera ,Firefox my program is no proplem, but in IE my program have no
> responce, why? I expect your help, thank you!
>
> my code:
> function outthrow() {
>
>     var url= "http://wangyang.110mb.com/db_os_storeData.php";;
>     var params = {};
>     params[gadgets.io.RequestParameters.METHOD] =
> gadgets.io.MethodType.POST;
>      params[gadgets.io.RequestParameters.POST_DATA] =
> gadgets.io.encodeValues(throwPerson);       gadgets.io.makeRequest
> (url, callback, params);
>         }
> function callback(response) {
>         if (response.data && response.data.length) {
>                         detailDiv = document.getElementById("callback");
>                         detailDiv.innerHTML = response.text;
>         }
>
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to