Disabling a field by Javascript.
Hello,
I have written the below javascript code to disable the role field in the user profile, it is working fine with Internet Explorer Browser, but it is not working with the Chrome Browser.
I have checked the content settings in the chrome settings, and the allow all sites to run javaScript radio is clicked.
Could you help me with this issue ?
Thank you.
<script type="text/javascript">
oraclecrmod.onReady(function() {
if(oraclecrmod.ctx.object == "UserAdmin" && oraclecrmod.ctx.isDetailPage())
{
document.getElementById("A0.R0.Responsibility - Translation").disabled=true;
}
});
</script>
Best Regards,
Emad