You need to add the plugin using the plugin manager. Cordova will automatically add the references needed to the plugin's JS file. I suspect you are looking at very old instructions for that plugin. See the docs > https://software.intel.com/en-us/xdk/docs/add-manage-project-plugins <
Thank you for the reply Paul. I have added the plugin through the manager already. I just want to know how can the event calendar be open with that plugin, the documents of the plugin cordova-plugin-calendar are not good in detail in giving an example.
I'm assuming you are using this plugin > https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin#3-usage < which includes a demo app > https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/tree/master/demo/www < You'll have to look through his sample to figure it out. Sorry, we're not experts here on the many third-party plugins, how they work is defined by the plugin writer.
If you want to edit, open,create, or delete the calendar events you have to use the next code samples:
To create an event
<button onclick="createCalendarEvent()">create event</button>
To delete an event:
<button onclick="deleteEvent()">delete event</button>
To find an event:
<button onclick="findEventWithFilter()">find event with filter</button>