I think he is Andrew. I have added the $.ajaxsetup Ray was talking about .. Yes
it has removed the tag but json still not working. So may be it is because that
dev server we're using.
here is my code :
$.ajaxSetup({
dataFilter: function(data, type)
{
return data.substring(10, data.length);
}
});
$.ajax({
url: 'hardcoded-jsondata.cfm',
dataType: 'json',
type: 'GET',
success: function(res){
$("#example6grid").handsontable("loadData", res.data);
}
});
As a result it does not show anything no errors but no data.
thought
Thanks
>Sounds like your senior developer is not a senior developer then.
>
>--
>Regards,
>Andrew Scott
>WebSite: http://www.andyscott.id.au/
>Google+: http://plus.google.com/113032480415921517411
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5998
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm