please find below the code where I am trying to access a Webresource. I am working on CRM 2016
var xyz= window.xyz|| {};
$("#WebResource").contentWindow.xyz.Scheduler.load();
Gives out "Unable to get property 'contentWindow' of undefined or null reference" message.
Need help.
See Question&Answers more detail:os