Hi All,
Trying to make a call to my app hosted in an external iframe. When I first load the app, it works fine. However, when I try to update div on my page, I do a makerequest like so:
myParams = {};
myParams[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;
myParams[gadgets.io.RequestParameters.POST_DATA] = '';
myParams[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.NONE;
myParams[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
myReturn = gadgets.io.makeRequest(url, myCallBack(), myParams);
With IE6, I get the popup error window that says object is expected.
In every case, using firefox 3.0.1, I get the following exception:
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://ip98-165-137-145.ph.ph.cox.net/phpOSTest/JavaScript/gadgets001.js :: anonymous :: line 352" data: no]
I tried this with many different parameters and even different urls, all pointing to my external domain. Is this a common problem? If it is, what do I need to do to get this thing to let me update a page?
If it's not a common problem, then what do I need to do to get this thing to let me update a page?
Any help is appreciated.