I have written below code to hide the "Add resource" and "Remove" image from the group view calendar in SharePoint 2013.

function HideResources() {

jQuery(".ms-acal-entity-res ").hide();

It hides the desired image when page loaded. But when i click on previous /next button,its not hiding all these.

Waiting for your response. Thank you.

| improve this question | | | | |

SharePoint loads the calendar items dynamically, that means for every async refresh (change weeks/months etc) you need to call your script-method again.

Otherwise your view will be 'reset'.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.