I have a edit form of a task list, i usingam using the content type "Workflow Task (Sharepoint 2013)", it has 2 buttons, one for AproveApprove and other for DenyDeny.
I need to change the color of the AproveApprove and Deny buttonbuttons, i have tried with Sharepoint Designer (Doesn't allow me to edit the form, even if I have full control permissions) and i have tried with Content Editor, i put this as well using below code inside a script tag:
function changeColors () {
documento.getElementById("Status_c15b34c3-ce7d-490a-b133-3f4de8801b76_$DropDownChoice_Aprobado").style.backgroundColor = "green";
}
document.onload= changeColors();
But, it doesn't work, until iI fire the event in the develpdeveloper console.
Can someone help me?