Javascript callback function does not work in IE8!

Posted by Abhishek on Stack Overflow See other posts from Stack Overflow or by Abhishek
Published on 2010-05-03T14:54:01Z Indexed on 2010/05/03 14:58 UTC
Read the original article Hit count: 269

I have a callback function in my open social application which fetches remote date. This works perfect on Crome and Mozila browers but not in IE8. Following is the example for the same, help will be appriciated:

This funcation: gadgets.io.makeRequest(url, response, params) makes the callback call

and following function process the responce:

    function response(obj) { 
      var str = obj.text;        
      var offerDtlPg = str.substr(0, str.length);  
      document.getElementById('pplOfrDetls').innerHTML = offerDtlPg; 
    };

© Stack Overflow or respective owner

Related posts about opensocial

Related posts about JavaScript