> Hi TG,
> 
> Do you have 'access=“remote”’ in your function declaration?  What is 
> Firebug showing you, the return looks like from the AJAX call?
> 
> Jon
> 
> 
> 
> On Nov 17, 2013, at 6:32 PM, Torrent Girl <[email protected]> 
> wrote:
> 
> > 
> > I am trying to do something as a simple CFC JSON call and can't get 
> this to work.
> > 
> > I have been wrestling with this for over a week.
> > 
> > 
> > Here is my code:
> > 
> > <script type="text/javascript" src="http://jqueryjs.googlecode.
> com/files/jquery-1.3.2.min.js"></script>
> > 
> > <script type="text/javascript">
> > $(function() {
> >    $("#category").autocomplete({
> >        source: "ajaxlookup.
> cfc?method=getInstitutions&returnformat=json"
> >    });
> > });
> > </script>
> >    <cfform>
> > category: <input id="category" name="category" />
> > 
> > </cfform>
> > 
> > 
> > 
> > 
> > 
> > 
> > Can ANYONE help?
> > 
> > 
> > NOTE: When I browse the CFC it works it just doesn't work on the cf 
> template.
> > 
> > Could there be server setting that would interfere with a JSON call? 
> 
> > 
> > 


Yes they are both in the same directory

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

Reply via email to