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 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:342953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to