CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

Disabling a field by Javascript.

edited Sep 27, 2016 8:41AM in CRM On Demand - Web Services Integration (MOSC) 3 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center