depends on what you have in cfc as well, are you seeing the response in firebug?

shouldn't this:
 var resp = jQuery.trim(response); 

be this:
 var resp = $.trim(response); 

are you on adobe or railo?
railo this wont work yet:
&queryformat=column


where you getting datastring from?


> I am trying to call a query from a CFC using jQuery with the following 
> code:
> 
> $(document).ready(
     
> function () {
>       $.ajax({
>       type: "GET",
>       url: "SpellChecker.cfc?method=getTextMemoFields&returnformat=json
            
> &queryformat=column",
>       data: datastring,
>       success: 
>               function(response) {
>                       var resp = jQuery.trim(response);
>                       alert(resp);
>               }
>       });
>                       
> });
> 
> When I look at the data inside an alert it looks exactly like it 
> should.  However, when I try to get to the values inside of it (e.g. 
> resp.DATA) it is always undefined. Do I need to perform an extra step?  
> I appreciate any advice I can get on this.
> 
> Thanks,
> 
> JW 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323609
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to