Any from the AJAX:Getting Started article in mozilla developer center,
I know it is a security mechanism of firefox3. I wonder if I can
disable it, cause I like the Firebug addon very much, I hope I can
debug my application within Firefox.
Please help. Thanks!
If I understand correctly you are trying to use AJAX with different
domains. This is not possible.
if you want to use AJAX from domain A for example, The page has to be
served by domain A. Otherwise you are out of luck there are security
restrictions.
You might investigate script injection, this is not a good solution
(Actually it has quite a few side effects) but it might help.
Cheers,
Kem
> _______________________________________________
> dev-ajax mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-ajax
> > dev-a...@lists.mozilla.org
> >https://lists.mozilla.org/listinfo/dev-ajax
I am having the same issue. Have you resolved this ?
a correct solution for cross-domain issue is to use a Server-Proxy to forward
the request.
For details, you can wirte a script (JSP, PHP or anything else) on your site and
the JS will call that scriptm which will call the API on the other sites.
if there is still anything not clear, please let me know
thanks
luke
ÔÚ Wed, 3 Sep 2008 16:00:44 -0700 (PDT) ʱ, thart...@gmail.com дÁË:
--
On Oct 1, 4:34 am, Luke Yan <gumpag...@163.com> wrote:
> hi
>
> a correct solution for cross-domain issue is to use a Server-Proxy to forward
> the request.
>
> For details, you can wirte a script (JSP, PHP or anything else) on your site and
> the JS will call that scriptm which will call the API on the other sites.
>
> if there is still anything not clear, please let me know
>
> thanks
> luke
>
> ÔÚ Wed, 3 Sep 2008 16:00:44 -0700 (PDT) ʱ, thartist...@gmail.com дÁË:
Hi gumpag,
I m facing same error.Please provide a sample code (scripts/jsp).
Thanks in Adavance !!!
Regards
Kuldeep