here the answer:
<script type="text/javascript">
function hideEdit() {
var edit = document.getElementById("Ribbon.ListForm.Display.Manage.EditItem-Large");
edit.style.display = "none";
}
_spBodyOnLoadFunctionNames.push("hideEdit");
</script>
Or
Enable/Disable ribbon button based on current item value of a fieldEnable/Disable ribbon button based on current item value of a field