I am using "annotator js" for comment on PDF files. All working fine. Now i want to store comment (annotations) on Mysql Database.
Please help me.
Thanks
I am using "annotator js" for comment on PDF files. All working fine. Now i want to store comment (annotations) on Mysql Database.
Please help me.
Thanks
I solved my issue using,this request var annotation = $('#content').annotator(); setTimeout(function(){
annotation.annotator('addPlugin', 'Store', {
prefix: prefixUrl,
annotationData: {
'uri': '/annotations'
},
urls: {
create: '/highlighter?page_id='+id,
update: '/update',
destroy: '/delete',
search: '/annotations?page_id='+id
}
});
}