In the script editor I have this code to disable some buttons:
<script>
document.getElementById(id="Status_c15b34c3-ce7d-490a-b133-3f4de8801b76_$DropDownChoice_Aprovado").disabled = true;
document.getElementById(id ="Status_c15b34c3-ce7d-490a-b133-3f4de8801b76_$DropDownChoice_Rejeitada").disabled = true;
document.getElementById(id="ctl00_ctl32_g_b2a57244_e74a_4dc6_90d1_809ce3ff419a_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_diidIOSaveItem").disabled = true;
document.getElementById(id="ctl00_ctl32_g_b2a57244_e74a_4dc6_90d1_809ce3ff419a_ctl00_toolBarTbl_RightRptControls_ctl01_ctl00_diidIOGoBack").disabled = true;
</script>
However, in the browser console, I can get the expected result, but when I run it inside the script editor, nothing happens.