This question is locked. New answers and comments are not allowed.
Hi,
I am new to the telerik platform. At the minute I have started my mobile application in a Jquery mobile app template in telerik app builder. I have created my backend service and I am now trying to pull from it with the code below
But it only returns "undefined" instead of the text in that field???
I am new to the telerik platform. At the minute I have started my mobile application in a Jquery mobile app template in telerik app builder. I have created my backend service and I am now trying to pull from it with the code below
<script>
var
b = document.getElementById(
"breakfastCont"
);
var
el =
new
Everlive(
"5ZzBykWYT3Xf9mFF"
);
var
myHtml;
el.data(
"TestRecipe"
).getById(
"f661ec20-ba41-11e3-b338-d3e0f19c8d17"
,
function
(data) {
myHtml = data.result.RECIPE;
b.innerHTML = myHtml;
},
function
(err) {
console.log(JSON.stringify(err));
})
</script>
But it only returns "undefined" instead of the text in that field???