I’m using a jquery events calendar js based (instead of sql and php) on a Web page (very similar to jQuery Event Calendar Demo Page) and in which I need to read the view entries in JSON format. On the onLoad object/event of the form I have the following:
$(document).ready(function() {
$(“#eventCalendarShowDescription”).eventCalendar({
eventsjson: ‘./XXX?OpenView?ReadViewEntries&outputformat=JSON’,
jsonDateFormat: ‘human’, // ‘YYYY-MM-DD HH:MM:SS’
etc
})
});
However, I get the following error message on my Web page: error getting json: ./XXX?OpenView?ReadViewEntries&outputformat=JSON.
What am I doing wrong/missing? Any help will be much appreciated. Thanks in advance.