>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


Dave,

To answer your questions:

1.  I thought jQuery.trim(response) = $.trim(response).  If not, pls let me 
know.
2.  I am using adobe/CF8 with cfeclipse.  The data is returning from the CFC 
just fine.  if use either document.write or an alert the text displays in JSON 
format as expected.  However, if I try and call something inside of the code it 
comes back undefined.  
3.  datastring is a variable that hold the parameters that are sent back to CFC 
in this case the datasource and the id values (which is why I did not add them 
to the example code :-)). 

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:323616
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