> Hello, in your jquery ajax call, just give the full http address of
> your cfc, like so :
>
> $.ajax({ url: 'http://www.yoursite.com/cfc/yourCFC.
> cfc?yourmethod&yourargumentsIfAny', type: "POST", dataType:"json"});
>
> Cheers
>
> > Hi All -
> >
> > Can I use jquery ajax to call a cfc that is located outside the
> > webroot? I tried it but I think it is trying to look for the cfc
> > within web root. How can I get it to point to a cfc outside the
> > webroot?
> >
> > Thanks
HI,
The cfc is located outside of webroot. I cant access it using full site address
the structure is as follow:
E
--Cfc
-- website
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342954
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm