Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function apStageOnChange() {
- var apStage = Xrm.Page.getAttribute("statuscode").getValue();
- if (apStage === 1) {
- if (confirm("ahoj")==true) {
- return Xrm.Page.getAttribute("statuscode").setValue(1);
- } else {
- return Xrm.Page.getAttribute("statuscode").setValue(0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement