I didn't try the code, but I'd imagine .getJSON would be similar to the .ajax 
but with the dataType:"json" ajax option

>It works if I change the call from $.ajax to:
>$.getJSON('cfcs/tjq.cfc?method=user&returnformat=JSON',
>                               function(data) {
>                                  $.each(data.DATA, function(i){
>                                  $('#result').append('<li><a href="#">' +
>data.DATA[i][0] + ' ' + data.DATA[i][1] + '</a>');
>                               });
>                       });
>
>I would be curious to know why.
>I saw a lot of whitespace when dumping the data.
>Thx
>Victor 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326596
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to