Hi, take a look at the documentation for getIFrameWindow and getCrmWindow. You can use Alert.getIFrameWindow().document.getElementById("...") from the Alert button functions to access the web resource window, and you can use parent.Alert.getCrmWindow().Xrm.Page to access Xrm.Page functions from inside the web resource.
Let me know if you have any difficulties.
https://alertjs.codeplex.com/documentation#Alert.getIFrameWindow
Regards,
Paul
Let me know if you have any difficulties.
https://alertjs.codeplex.com/documentation#Alert.getIFrameWindow
Regards,
Paul