Hi Team,
I used the below code Jquery UI for bookmark and I want to change page name every time. Can you please provide the sample code to change page name??
var bookmarkControl = $('#bookmarkControl');
bookmarkControl.evolutionBookmark({
initialState: true, // content is bookmarked
contentId: 'C512D1A1-ED6C-442D-BC9d-3587CD711D35',
contentTypeId: 'F7D226AB-D59F-475C-9D22-4A79E3F0EC07',
contentTypeName: 'Blog Post',
onBookmark: function(contentId, contentTypeId, typeId, callback) {
alert(contentId + ' bookmarked!');
// ...perform AJAX-based saving of bookmark here...
// After a successful save, callback to notify the bookmark plugin
callback();
},
onUnbookmark: function(contentId, contentTypeId, typeId, callback) {
alert(contentId + ' unbookmarked!');
// ...perform AJAX-based saving of bookmark here...
// After a successful save, callback to notify the bookmark plugin
callback();
}
});
Regards,
Kiran.