Since I am not a programmer or developer, I always save some frequently used jscript and solutions in my toolbox for quick reference. Today, I converted one of my CRM4 frequently used jscript and saved to my CRM2011 toolbox. The jscript is to set a field read only.
For CRM4, the jscript is like this:
For CRM2011, the jscript is like this: