Sunday, October 4, 2009

Cross-site element with AJAX ? ? ? How can I ? ? ?

Hello all.

I need your help please ! ! !

I have create an element that hold a form and I use it in the default
layout file of my application. This form consistes from several select
html elements that each one load it's values with AJAX by using the
JQuery.

Now for debuging I'm using the Firebug and I see the XHR request.

When the domain is like that :

http://www.mydomainname.ext/ the AJAX is working perfect and the
request is like that
htto://www.mydomainname.ext/myAjaxController/myAjaxAction

But when the domain is like that :

http://www.mydomainname.ext/someController/someAction then the AJAX
request is like this
http://www.mydomainname.ext/someController/myAjaxController/myAjaxAction

How can I fix this isue ? ? ?

Kind regards
Merianos Nikos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: