hello Appery team,
I have read a lot of documents and past post, but cannot figure out how to pass an array from REST to a FUNCTION.
I ́m using a third party script to schedule events "calendar event".
it uses in line data to show next events, like this:
var eventsInline = [{"date": "1388318400000", "type": "training", "title": "super class", "description": "learn to teach", "url": "http://www.event1.com/"}];
$(cal).eventCalendar({
jsonData: eventsInline
});
using this notation I get this result :
I have save this same array in DB, and saved in a collection like this:
and linked to a local variable and then pass it to the function like this:
and then :