Its the cross domain security issue with Xmlhttprequest , is it ?
so, if i host the gadget on the same server from which i am requesting
the xml, then it would work ?
On May 28, 4:45 pm, Justin McConnell <bool...@gmail.com> wrote:
On May 28, 11:49 am, Rajat <life...@gmail.com> wrote:
...
I was wondering if i could use the same in igoogle gadgets to request
an object or do i have to use the wrapper function provided by the api
only.
You are not forced to use the wrapper. XMLHttpRequest will work.
My attempt to use the xmlhttprequest object gave me an "access denied".
Are you trying to get data from your own server? Gadgets are served
from google servers, even if the XML spec resides on your own. So any
XMLHttpRequest calls will be limited by the same origin policy.